Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 111.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.485/2.485, allocations: 476.7 MB / 0.7628 GB, free: 15.23 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 67.91 kB / 1.107 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7517/0.7535, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001482/0.7549, allocations: 0.5708 MB / 1.272 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.7563, allocations: 1.259 MB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.988e-05/0.7563, allocations: 0.75 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.707e-05/0.7564, allocations: 2.641 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.717e-05/0.7564, allocations: 6.141 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.757, allocations: 278.9 kB / 1.273 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.7572, allocations: 79.89 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.236e-05/0.7572, allocations: 7.922 kB / 1.274 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.449e-05/0.7572, allocations: 39.77 kB / 1.274 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.938e-05/0.7573, allocations: 44.25 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.7573, allocations: 6.5 kB / 1.274 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/0.7577, allocations: 210.6 kB / 1.274 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.7577, allocations: 7.75 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/0.7577, allocations: 33.64 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.758, allocations: 258 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.758, allocations: 4 kB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.21e-07/0.758, allocations: 0.9062 kB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.758, allocations: 0 / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002853/0.7583, allocations: 447.3 kB / 1.275 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.7583, allocations: 10.47 kB / 1.275 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.096e-05/0.7584, allocations: 110 kB / 1.275 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/0.7584, allocations: 82.8 kB / 1.275 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.045e-05/0.7585, allocations: 256.5 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.7585, allocations: 157 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.496e-05/0.7586, allocations: 161.4 kB / 1.275 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.344e-05/0.7586, allocations: 109.5 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.7586, allocations: 76.12 kB / 1.275 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.7586, allocations: 151.9 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.7587, allocations: 155.7 kB / 1.276 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.57e-05/0.7587, allocations: 150.6 kB / 1.276 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.7588, allocations: 471.3 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.286e-05/0.7589, allocations: 169.7 kB / 1.276 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.249e-05/0.7589, allocations: 84.95 kB / 1.277 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.7589, allocations: 79.22 kB / 1.277 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/0.7589, allocations: 107.2 kB / 1.277 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.7589, allocations: 0 / 1.277 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.771e-05/0.759, allocations: 40.59 kB / 1.277 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.993e-05/0.759, allocations: 130.7 kB / 1.277 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.7591, allocations: 145.7 kB / 1.277 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.7591, allocations: 31.77 kB / 1.277 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.7592, allocations: 91.81 kB / 1.277 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-06/0.7592, allocations: 0 / 1.277 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.618e-05/0.7592, allocations: 44.98 kB / 1.277 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.749e-05/0.7593, allocations: 316.3 kB / 1.278 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.7594, allocations: 60.98 kB / 1.278 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.844e-05/0.7595, allocations: 60.16 kB / 1.278 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.7596, allocations: 99.45 kB / 1.278 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.7596, allocations: 4.031 kB / 1.278 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003457/0.7599, allocations: 235.2 kB / 1.278 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.76, allocations: 42.64 kB / 1.278 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.76, allocations: 0.9375 kB / 1.278 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.76, allocations: 0 / 1.278 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/0.76, allocations: 7.812 kB / 1.278 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.76, allocations: 0 / 1.278 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.7603, allocations: 26.88 kB / 1.278 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.7603, allocations: 17.16 kB / 1.278 GB, free: 2.402 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI2[2],yI2[1],yI1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.7604, allocations: 196.6 kB / 1.278 GB, free: 18.21 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/0.7605, allocations: 113.6 kB / 1.278 GB, free: 18.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.096e-05/0.7605, allocations: 116.4 kB / 1.278 GB, free: 17.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.706e-05/0.7606, allocations: 178.8 kB / 1.279 GB, free: 17.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.242e-05/0.7607, allocations: 181.2 kB / 1.279 GB, free: 17.61 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.363e-05/0.7607, allocations: 181.2 kB / 1.279 GB, free: 17.43 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.761, allocations: 410.1 kB / 1.279 GB, free: 16.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-05/0.761, allocations: 118.3 kB / 1.279 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.761, allocations: 105.9 kB / 1.28 GB, free: 16.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.514e-05/0.7611, allocations: 187.1 kB / 1.28 GB, free: 16.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.268e-05/0.7612, allocations: 177.4 kB / 1.28 GB, free: 16.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.404e-05/0.7612, allocations: 181.4 kB / 1.28 GB, free: 16.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.695e-05/0.7613, allocations: 182.9 kB / 1.28 GB, free: 16.02 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.7614, allocations: 311 kB / 1.281 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.679e-05/0.7615, allocations: 184.1 kB / 1.281 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.227e-05/0.7616, allocations: 183.3 kB / 1.281 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.852e-05/0.7617, allocations: 106.1 kB / 1.281 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.7617, allocations: 181.5 kB / 1.281 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-05/0.7618, allocations: 107.6 kB / 1.281 GB, free: 14.91 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.404e-05/0.7618, allocations: 101.4 kB / 1.281 GB, free: 14.83 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.7618, allocations: 0 / 1.281 GB, free: 14.83 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003459/0.7622, allocations: 73 kB / 1.281 GB, free: 14.81 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003749/0.7659, allocations: 1.05 MB / 1.282 GB, free: 13.91 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003321/0.7663, allocations: 154 kB / 1.283 GB, free: 13.83 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7663, allocations: 0 / 1.283 GB, free: 13.83 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.536e-06/0.7663, allocations: 0.9688 kB / 1.283 GB, free: 13.83 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.7667, allocations: 457.6 kB / 1.283 GB, free: 13.38 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.7683, allocations: 1.867 MB / 1.285 GB, free: 11.91 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.7686, allocations: 0.6794 MB / 1.286 GB, free: 11.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.147e-05/0.7687, allocations: 49.98 kB / 1.286 GB, free: 11.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.627e-05/0.7687, allocations: 13.28 kB / 1.286 GB, free: 11.2 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.7687, allocations: 0 / 1.286 GB, free: 11.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.7981, allocations: 3.721 MB / 1.289 GB, free: 10.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.112/7.91, allocations: 6.469 kB / 1.289 GB, free: 10.4 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.fmu > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 420.0] TODO: How the !@#!# did the simulation report success but simulation result Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat does not exist to compare? outputFormat=mat[Calling sys.exit(0), Time elapsed: 13.450354211001468]