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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001083/0.001083, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001036/0.001036, allocations: 197.2 kB / 16.14 MB, free: 6.734 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.248/1.248, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.38/2.38, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001136, allocations: 61.22 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2199, allocations: 157.4 MB / 1.052 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.005251/0.2252, allocations: 4.95 MB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1258/0.3509, allocations: 148.3 MB / 1.202 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006174/0.3516, allocations: 19.88 kB / 1.202 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004755/0.3521, allocations: 150.9 kB / 1.202 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.3533, allocations: 464.3 kB / 1.202 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.3547, allocations: 0.7176 MB / 1.203 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009038/0.3556, allocations: 1.284 MB / 1.204 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006301/0.3562, allocations: 0.5517 MB / 1.205 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003792/0.3566, allocations: 414.3 kB / 1.205 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003993/0.357, allocations: 473.8 kB / 1.206 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.3572, allocations: 52 kB / 1.206 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005365/0.3577, allocations: 399.6 kB / 1.206 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.3579, allocations: 231.1 kB / 1.206 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003594/0.3583, allocations: 0.4972 MB / 1.207 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.3594, allocations: 1.53 MB / 1.208 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3594, allocations: 3.938 kB / 1.208 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of FrontEnd: time 6.91e-07/0.3594, allocations: 0 / 1.208 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.3594, allocations: 0 / 1.208 GB, free: 7.668 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.002058/0.3615, allocations: 1.43 MB / 1.21 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.3615, allocations: 11.97 kB / 1.21 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001295/0.3617, allocations: 131.3 kB / 1.21 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008151/0.3625, allocations: 191.4 kB / 1.21 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008311/0.3633, allocations: 0.7505 MB / 1.211 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/0.3634, allocations: 58 kB / 1.211 GB, free: 5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.132e-05/0.3635, allocations: 80 kB / 1.211 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.3648, allocations: 0.9153 MB / 1.212 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.3648, allocations: 7.984 kB / 1.212 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-05/0.3649, allocations: 36 kB / 1.212 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.3649, allocations: 20 kB / 1.212 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.3664, allocations: 1.093 MB / 1.213 GB, free: 2.805 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.003253/0.3697, allocations: 2.775 MB / 1.216 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.371, allocations: 0.7817 MB / 1.216 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004585/0.3714, allocations: 290.7 kB / 1.217 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-05/0.3715, allocations: 36.52 kB / 1.217 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000804/0.3723, allocations: 487.1 kB / 1.217 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 1.854e-06/0.3723, allocations: 0 / 1.217 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.002852/0.3752, allocations: 1.174 MB / 1.218 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.3753, allocations: 196.5 kB / 1.219 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006303/0.3759, allocations: 0.637 MB / 1.219 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.271e-05/0.376, allocations: 41.7 kB / 1.219 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.3762, allocations: 392.4 kB / 1.22 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.3764, allocations: 256.3 kB / 1.22 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.3766, allocations: 150.5 kB / 1.22 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3767, allocations: 390.7 kB / 1.22 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.3772, allocations: 237.9 kB / 1.221 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005305/0.3777, allocations: 367.3 kB / 1.221 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009223/0.3786, allocations: 0.5768 MB / 1.222 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3786, allocations: 0 / 1.222 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001628/0.3803, allocations: 0.7902 MB / 1.222 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3803, allocations: 8 kB / 1.222 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3803, allocations: 0 / 1.222 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005672/0.3809, allocations: 92.77 kB / 1.222 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005475/0.3814, allocations: 143.8 kB / 1.223 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.3832, allocations: 1.529 MB / 1.224 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005707/0.3837, allocations: 91.31 kB / 1.224 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.3838, allocations: 27.98 kB / 1.224 GB, free: 6.949 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.0003062/0.3841, allocations: 269.7 kB / 1.224 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.3843, allocations: 86.91 kB / 1.224 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002097/0.3864, allocations: 1.042 MB / 1.225 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.3864, allocations: 12.08 kB / 1.226 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.3864, allocations: 0 / 1.226 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.3864, allocations: 7.984 kB / 1.226 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008237/0.3872, allocations: 0.8917 MB / 1.226 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3872, allocations: 0 / 1.226 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000513/0.3878, allocations: 139.8 kB / 1.227 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004817/0.3882, allocations: 80.77 kB / 1.227 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/0.3883, allocations: 23.98 kB / 1.227 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.3899, allocations: 1.548 MB / 1.228 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.3899, allocations: 0 / 1.228 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.3916, allocations: 0.9161 MB / 1.229 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/0.3919, allocations: 267.7 kB / 1.229 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.392, allocations: 23.98 kB / 1.229 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005705/0.3925, allocations: 63.94 kB / 1.229 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.3927, allocations: 68.89 kB / 1.229 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.905e-05/0.3927, allocations: 31.98 kB / 1.229 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004562/0.3932, allocations: 463 kB / 1.23 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3932, allocations: 0 / 1.23 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006408/0.3939, allocations: 315.2 kB / 1.23 GB, free: 488 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.002988/0.3969, allocations: 1.964 MB / 1.232 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001323/0.3982, allocations: 0.7845 MB / 1.233 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3982, allocations: 0 / 1.233 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007894/0.399, allocations: 0.5041 MB / 1.233 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009741/0.4, allocations: 284.5 kB / 1.234 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009567/0.4096, allocations: 6.753 MB / 1.24 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.41, allocations: 1.02 MB / 1.241 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006975/0.4107, allocations: 258.7 kB / 1.241 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004632/0.4112, allocations: 391.3 kB / 1.242 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.4112, allocations: 4 kB / 1.242 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.858/3.27, allocations: 20.45 MB / 1.262 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/3.27, allocations: 288 kB / 1.262 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.387/11.66, allocations: 4.438 kB / 1.262 GB, free: 189.7 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)