Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",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.001446/0.001446, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001656/0.001656, allocations: 191.3 kB / 16.25 MB, free: 6.633 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.331/1.331, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.587/2.587, allocations: 461.9 MB / 0.7344 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 64.86 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2393, allocations: 157.4 MB / 1.052 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006253/0.2456, allocations: 4.952 MB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1389/0.3845, allocations: 148.4 MB / 1.202 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000742/0.3853, allocations: 15.94 kB / 1.202 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006561/0.386, allocations: 150.8 kB / 1.202 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.3877, allocations: 496.6 kB / 1.203 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.3895, allocations: 0.7276 MB / 1.203 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001436/0.3909, allocations: 1.37 MB / 1.205 GB, free: 12 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008558/0.3918, allocations: 0.5831 MB / 1.205 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006537/0.3924, allocations: 478.3 kB / 1.206 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006265/0.3931, allocations: 0.5017 MB / 1.206 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.3933, allocations: 112 kB / 1.206 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007859/0.3941, allocations: 451.6 kB / 1.207 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.3943, allocations: 299.1 kB / 1.207 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005195/0.3949, allocations: 0.5519 MB / 1.208 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.3965, allocations: 1.573 MB / 1.209 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3965, allocations: 0 / 1.209 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3965, allocations: 3.938 kB / 1.209 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.161e-05/0.3966, allocations: 4 kB / 1.209 GB, free: 7.438 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002884/0.3995, allocations: 1.432 MB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3995, allocations: 12.62 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001787/0.3997, allocations: 131.3 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009716/0.4007, allocations: 187.4 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.4018, allocations: 0.7466 MB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.575e-05/0.4018, allocations: 61.98 kB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.402, allocations: 84 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.4035, allocations: 0.9114 MB / 1.213 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.4036, allocations: 4 kB / 1.213 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.39e-05/0.4037, allocations: 36 kB / 1.213 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.4037, allocations: 20 kB / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.4054, allocations: 1.093 MB / 1.214 GB, free: 2.586 MB / 0.9669 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.003869/0.4093, allocations: 2.771 MB / 1.217 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.4107, allocations: 0.7896 MB / 1.217 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005007/0.4112, allocations: 298.6 kB / 1.218 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.49e-05/0.4113, allocations: 28.61 kB / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008581/0.4122, allocations: 496 kB / 1.218 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 2.104e-06/0.4122, allocations: 0 / 1.218 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.003108/0.4153, allocations: 1.17 MB / 1.219 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/0.4154, allocations: 188.6 kB / 1.219 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007658/0.4162, allocations: 0.637 MB / 1.22 GB, free: 12 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.647e-05/0.4162, allocations: 45.69 kB / 1.22 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.4165, allocations: 400.4 kB / 1.22 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.4167, allocations: 256.3 kB / 1.221 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.417, allocations: 142.5 kB / 1.221 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.4171, allocations: 386.7 kB / 1.221 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005023/0.4177, allocations: 241.9 kB / 1.221 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/0.4183, allocations: 363.4 kB / 1.222 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.4193, allocations: 0.5768 MB / 1.222 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4193, allocations: 0 / 1.222 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00187/0.4212, allocations: 0.798 MB / 1.223 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.4212, allocations: 5.406 kB / 1.223 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4212, allocations: 0 / 1.223 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006179/0.4219, allocations: 88.78 kB / 1.223 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006055/0.4225, allocations: 155.7 kB / 1.223 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.4245, allocations: 1.627 MB / 1.225 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006518/0.4252, allocations: 91.38 kB / 1.225 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/0.4253, allocations: 31.98 kB / 1.225 GB, free: 6.609 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0003402/0.4256, allocations: 261.6 kB / 1.225 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.4258, allocations: 86.95 kB / 1.225 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/0.4281, allocations: 1.046 MB / 1.226 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.4281, allocations: 8 kB / 1.226 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4281, allocations: 7.938 kB / 1.226 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.4281, allocations: 7.984 kB / 1.226 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009349/0.4291, allocations: 0.8918 MB / 1.227 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.371e-06/0.4291, allocations: 0 / 1.227 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005701/0.4297, allocations: 151.7 kB / 1.227 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004542/0.4301, allocations: 76.72 kB / 1.228 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-05/0.4302, allocations: 19.98 kB / 1.228 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/0.432, allocations: 1.654 MB / 1.229 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.432, allocations: 0 / 1.229 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.4339, allocations: 0.9083 MB / 1.23 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/0.4342, allocations: 271.7 kB / 1.23 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.4344, allocations: 16 kB / 1.23 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006336/0.435, allocations: 67.92 kB / 1.23 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.4352, allocations: 72.98 kB / 1.23 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.714e-05/0.4352, allocations: 31.98 kB / 1.23 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000511/0.4358, allocations: 463 kB / 1.231 GB, free: 340 kB / 0.9825 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4358, allocations: 0 / 1.231 GB, free: 340 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007282/0.4365, allocations: 319.2 kB / 1.231 GB, free: 20 kB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.003329/0.4398, allocations: 1.958 MB / 1.233 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002105/0.4419, allocations: 0.9798 MB / 1.234 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.442, allocations: 4 kB / 1.234 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008698/0.4428, allocations: 0.5042 MB / 1.235 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.444, allocations: 299 kB / 1.235 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.4551, allocations: 6.753 MB / 1.241 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000683/0.4559, allocations: 1.027 MB / 1.242 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008954/0.4568, allocations: 270.6 kB / 1.243 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005406/0.4573, allocations: 391.3 kB / 1.243 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.4573, allocations: 0 / 1.243 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.143/1.6, allocations: 21.04 MB / 1.264 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/1.6, allocations: 283.1 kB / 1.264 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.992/5.593, allocations: 3.938 kB / 1.264 GB, free: 190.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1)