Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) 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.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_11_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.001487/0.001487, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 194.8 kB / 16.53 MB, free: 6.699 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.59/2.59, allocations: 469.8 MB / 0.7424 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 62.05 kB / 0.9086 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2604, allocations: 159.2 MB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006627/0.2671, allocations: 4.935 MB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1592/0.4263, allocations: 150.6 MB / 1.216 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007111/0.427, allocations: 15.88 kB / 1.216 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000644/0.4277, allocations: 190.3 kB / 1.216 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.4295, allocations: 0.5431 MB / 1.217 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.4314, allocations: 0.8132 MB / 1.217 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001607/0.433, allocations: 1.37 MB / 1.219 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000908/0.4339, allocations: 0.5792 MB / 1.219 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006962/0.4347, allocations: 490.3 kB / 1.22 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006925/0.4354, allocations: 0.4962 MB / 1.22 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002123/0.4356, allocations: 112 kB / 1.22 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008538/0.4364, allocations: 455.6 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000307/0.4368, allocations: 299 kB / 1.221 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005612/0.4373, allocations: 0.5519 MB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.4391, allocations: 1.573 MB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.4391, allocations: 0 / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4391, allocations: 0 / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.4391, allocations: 0 / 1.223 GB, free: 10.64 MB / 0.9825 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.002395/0.4415, allocations: 1.438 MB / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.4416, allocations: 8.031 kB / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001613/0.4417, allocations: 131.3 kB / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008815/0.4426, allocations: 187.3 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009999/0.4436, allocations: 0.7467 MB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.612e-05/0.4437, allocations: 61.98 kB / 1.226 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.4438, allocations: 80 kB / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.4453, allocations: 0.9075 MB / 1.227 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.4453, allocations: 7.938 kB / 1.227 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.801e-05/0.4454, allocations: 32 kB / 1.227 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.4455, allocations: 20 kB / 1.227 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.4472, allocations: 1.1 MB / 1.228 GB, free: 5.781 MB / 0.9825 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.003885/0.4511, allocations: 2.771 MB / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.4526, allocations: 0.7817 MB / 1.231 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005272/0.4531, allocations: 302.6 kB / 1.232 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-05/0.4532, allocations: 24.61 kB / 1.232 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008894/0.4541, allocations: 491 kB / 1.232 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 2.264e-06/0.4541, allocations: 4 kB / 1.232 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.00314/0.4573, allocations: 1.174 MB / 1.233 GB, free: 76 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.4574, allocations: 188.6 kB / 1.233 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007667/0.4582, allocations: 0.6371 MB / 1.234 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.209e-05/0.4583, allocations: 45.69 kB / 1.234 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.4586, allocations: 392.3 kB / 1.234 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.4588, allocations: 256.4 kB / 1.235 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.4591, allocations: 146.5 kB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002051/0.4593, allocations: 386.7 kB / 1.235 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004916/0.4598, allocations: 245.9 kB / 1.235 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006257/0.4604, allocations: 355.4 kB / 1.236 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.4615, allocations: 0.5807 MB / 1.236 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4615, allocations: 0 / 1.236 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001872/0.4634, allocations: 0.7979 MB / 1.237 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.4634, allocations: 4 kB / 1.237 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4634, allocations: 4.125 kB / 1.237 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000586/0.464, allocations: 84.77 kB / 1.237 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005957/0.4646, allocations: 159.7 kB / 1.237 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/0.4669, allocations: 1.619 MB / 1.239 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005996/0.4675, allocations: 90.75 kB / 1.239 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.4676, allocations: 35.97 kB / 1.239 GB, free: 9.828 MB / 0.9981 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.0003889/0.468, allocations: 265.8 kB / 1.239 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.4681, allocations: 86.95 kB / 1.239 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/0.4705, allocations: 1.046 MB / 1.24 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.4705, allocations: 12 kB / 1.24 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4705, allocations: 3.938 kB / 1.24 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.4706, allocations: 3.984 kB / 1.24 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.4716, allocations: 0.884 MB / 1.241 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4716, allocations: 0 / 1.241 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005462/0.4721, allocations: 143.7 kB / 1.241 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004217/0.4726, allocations: 72.78 kB / 1.242 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/0.4726, allocations: 27.98 kB / 1.242 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/0.4746, allocations: 1.67 MB / 1.243 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4746, allocations: 0 / 1.243 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.4766, allocations: 0.92 MB / 1.244 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/0.4769, allocations: 263.8 kB / 1.244 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.477, allocations: 23.98 kB / 1.244 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000583/0.4776, allocations: 55.94 kB / 1.244 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.4778, allocations: 72.84 kB / 1.244 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.467e-05/0.4778, allocations: 35.97 kB / 1.244 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005531/0.4784, allocations: 467 kB / 1.245 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4784, allocations: 0 / 1.245 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007269/0.4791, allocations: 319.2 kB / 1.245 GB, free: 3.227 MB / 0.9981 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.003877/0.483, allocations: 1.949 MB / 1.247 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002203/0.4852, allocations: 0.9834 MB / 1.248 GB, free: 440 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4852, allocations: 0 / 1.248 GB, free: 440 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.3859/0.8711, allocations: 0.5068 MB / 1.249 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.8725, allocations: 292 kB / 1.249 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009268/0.8818, allocations: 6.385 MB / 1.255 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.8822, allocations: 1.018 MB / 1.256 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007443/0.883, allocations: 267.1 kB / 1.256 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004139/0.8834, allocations: 389.8 kB / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.8834, allocations: 0 / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.065/2.949, allocations: 21.24 MB / 1.277 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.05/24, allocations: 5.25 kB / 1.277 GB, free: 178.1 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1)