Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00826/0.00826, allocations: 95.77 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 198.9 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002463/0.002463, allocations: 283 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.099/1.099, allocations: 178.6 MB / 0.5074 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003406/0.003407, allocations: 96.62 kB / 0.6943 GB, free: 3.621 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5738/0.5773, allocations: 89.14 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.008203/0.5855, allocations: 5.105 MB / 0.7863 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1915/0.777, allocations: 150.6 MB / 0.9334 GB, free: 2.961 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.7782, allocations: 19.88 kB / 0.9334 GB, free: 2.941 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007476/0.7791, allocations: 194.2 kB / 0.9336 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.7811, allocations: 0.5703 MB / 0.9342 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.7834, allocations: 0.8389 MB / 0.935 GB, free: 1.348 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001823/0.7852, allocations: 1.424 MB / 0.9364 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009356/0.7862, allocations: 0.5913 MB / 0.937 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007802/0.787, allocations: 498.2 kB / 0.9374 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006564/0.7876, allocations: 0.5134 MB / 0.9379 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.7878, allocations: 116 kB / 0.9381 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.789, allocations: 495.6 kB / 0.9385 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003543/0.7894, allocations: 299 kB / 0.9388 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006987/0.7901, allocations: 0.5791 MB / 0.9394 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002881/0.793, allocations: 1.671 MB / 0.941 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/0.793, allocations: 4 kB / 0.941 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.314e-06/0.793, allocations: 0 / 0.941 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.058e-05/0.793, allocations: 0 / 0.941 GB, free: 11.14 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002971/0.796, allocations: 1.507 MB / 0.9425 GB, free: 9.582 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.7961, allocations: 16.03 kB / 0.9425 GB, free: 9.566 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001694/0.7962, allocations: 131.6 kB / 0.9426 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009462/0.7972, allocations: 196.1 kB / 0.9428 GB, free: 9.238 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.7987, allocations: 0.7707 MB / 0.9436 GB, free: 8.426 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.725e-05/0.7988, allocations: 69.94 kB / 0.9436 GB, free: 8.359 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.7989, allocations: 99.88 kB / 0.9437 GB, free: 8.262 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.8006, allocations: 0.9301 MB / 0.9446 GB, free: 7.289 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.8006, allocations: 0 / 0.9446 GB, free: 7.289 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.171e-05/0.8007, allocations: 43.98 kB / 0.9447 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.8007, allocations: 20 kB / 0.9447 GB, free: 7.227 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.8026, allocations: 1.116 MB / 0.9458 GB, free: 6.113 MB / 0.7012 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00431/0.8069, allocations: 2.744 MB / 0.9485 GB, free: 3.246 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.8085, allocations: 0.8159 MB / 0.9493 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005824/0.8091, allocations: 314.7 kB / 0.9496 GB, free: 2.113 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.404e-05/0.8092, allocations: 24.61 kB / 0.9496 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009444/0.8102, allocations: 0.4932 MB / 0.9501 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.975e-06/0.8102, allocations: 0 / 0.9501 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003462/0.8137, allocations: 1.214 MB / 0.9512 GB, free: 344 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.8138, allocations: 192.6 kB / 0.9514 GB, free: 108 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009609/0.8148, allocations: 0.6411 MB / 0.9521 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.398e-05/0.8149, allocations: 45.7 kB / 0.9521 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/0.8153, allocations: 417 kB / 0.9525 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000251/0.8155, allocations: 277.6 kB / 0.9528 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/0.8158, allocations: 150.6 kB / 0.9529 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.816, allocations: 394.7 kB / 0.9533 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000526/0.8165, allocations: 245.9 kB / 0.9535 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006511/0.8172, allocations: 366.5 kB / 0.9539 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.8183, allocations: 0.5916 MB / 0.9544 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.8184, allocations: 0 / 0.9544 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002016/0.8204, allocations: 0.8179 MB / 0.9552 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.8204, allocations: 4 kB / 0.9552 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.8204, allocations: 0 / 0.9552 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006258/0.8211, allocations: 84.86 kB / 0.9553 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000644/0.8217, allocations: 159.7 kB / 0.9555 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.8241, allocations: 1.63 MB / 0.9571 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007505/0.8249, allocations: 97.52 kB / 0.9572 GB, free: 9.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.474e-05/0.825, allocations: 31.98 kB / 0.9572 GB, free: 9.965 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004962/0.8255, allocations: 261.7 kB / 0.9574 GB, free: 9.699 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.8257, allocations: 91.44 kB / 0.9575 GB, free: 9.609 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.8281, allocations: 1.074 MB / 0.9586 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.8282, allocations: 8 kB / 0.9586 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.8282, allocations: 0 / 0.9586 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.8282, allocations: 7.984 kB / 0.9586 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.8295, allocations: 0.9114 MB / 0.9595 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.8295, allocations: 4 kB / 0.9595 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006459/0.8302, allocations: 159.7 kB / 0.9596 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004657/0.8307, allocations: 76.72 kB / 0.9597 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.24e-05/0.8308, allocations: 31.97 kB / 0.9597 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/0.833, allocations: 1.642 MB / 0.9614 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.833, allocations: 0 / 0.9614 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002846/0.8358, allocations: 1.348 MB / 0.9627 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004967/0.8364, allocations: 280.2 kB / 0.9629 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.8365, allocations: 19.94 kB / 0.963 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006164/0.8371, allocations: 60 kB / 0.963 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.8373, allocations: 76.89 kB / 0.9631 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.302e-05/0.8374, allocations: 43.97 kB / 0.9631 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006415/0.8381, allocations: 467 kB / 0.9636 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8381, allocations: 0 / 0.9636 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009397/0.839, allocations: 331.1 kB / 0.9639 GB, free: 2.855 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004971/0.844, allocations: 2.39 MB / 0.9662 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001976/0.846, allocations: 0.8038 MB / 0.967 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.846, allocations: 4.172 kB / 0.967 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.8471, allocations: 0.5236 MB / 0.9675 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.8486, allocations: 307.9 kB / 0.9678 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.8597, allocations: 6.391 MB / 0.9741 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006896/0.8605, allocations: 1.027 MB / 0.9751 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008657/0.8614, allocations: 262.8 kB / 0.9753 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005779/0.8619, allocations: 403.3 kB / 0.9757 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.8619, allocations: 0 / 0.9757 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0917/0.9536, allocations: 21.94 MB / 0.9971 GB, free: 1.117 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.23, allocations: 5.969 kB / 0.9971 GB, free: 1.113 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)