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.001298/0.001298, allocations: 108 kB / 15.6 MB, free: 128 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.001376/0.001376, allocations: 196.6 kB / 16.53 MB, free: 6.672 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.63/2.63, allocations: 461.9 MB / 0.7347 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 61.66 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2353, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006069/0.2414, allocations: 4.943 MB / 1.058 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1453/0.3867, allocations: 150.6 MB / 1.205 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006461/0.3874, allocations: 15.94 kB / 1.205 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004963/0.3879, allocations: 190.2 kB / 1.205 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.3893, allocations: 0.5391 MB / 1.205 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.391, allocations: 0.8259 MB / 1.206 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001103/0.3921, allocations: 1.362 MB / 1.208 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007419/0.3929, allocations: 0.5909 MB / 1.208 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004609/0.3934, allocations: 474.4 kB / 1.209 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004916/0.3939, allocations: 0.4978 MB / 1.209 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.394, allocations: 116 kB / 1.209 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006786/0.3947, allocations: 447.7 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002591/0.395, allocations: 295 kB / 1.21 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004423/0.3954, allocations: 0.5713 MB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.3968, allocations: 1.577 MB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.3968, allocations: 0 / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3969, allocations: 0 / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.3969, allocations: 0 / 1.212 GB, free: 4.664 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.002233/0.3991, allocations: 1.426 MB / 1.213 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3991, allocations: 8.625 kB / 1.213 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.3993, allocations: 131.3 kB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008875/0.4002, allocations: 187.4 kB / 1.214 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009092/0.4011, allocations: 0.7466 MB / 1.215 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.743e-05/0.4012, allocations: 69.98 kB / 1.215 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.672e-05/0.4013, allocations: 76 kB / 1.215 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.4027, allocations: 0.9075 MB / 1.216 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.4027, allocations: 0 / 1.216 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.992e-05/0.4028, allocations: 40 kB / 1.216 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.4028, allocations: 24 kB / 1.216 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.4045, allocations: 1.097 MB / 1.217 GB, free: 15.81 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.003589/0.4081, allocations: 2.759 MB / 1.219 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.4095, allocations: 0.7895 MB / 1.22 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005142/0.41, allocations: 290.7 kB / 1.22 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.766e-05/0.4101, allocations: 32.61 kB / 1.22 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000798/0.4109, allocations: 487.7 kB / 1.221 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 3.747e-06/0.4109, allocations: 0 / 1.221 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.003045/0.414, allocations: 1.178 MB / 1.222 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.249e-05/0.4141, allocations: 188.6 kB / 1.222 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007129/0.4148, allocations: 0.6409 MB / 1.223 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/0.4149, allocations: 37.7 kB / 1.223 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.4152, allocations: 396.4 kB / 1.223 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.4154, allocations: 256.3 kB / 1.224 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.4156, allocations: 146.5 kB / 1.224 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4157, allocations: 394.6 kB / 1.224 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/0.4162, allocations: 245.9 kB / 1.224 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005887/0.4168, allocations: 359.4 kB / 1.225 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.4179, allocations: 0.5807 MB / 1.225 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4179, allocations: 0 / 1.225 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001804/0.4197, allocations: 0.7941 MB / 1.226 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.4197, allocations: 8 kB / 1.226 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4197, allocations: 0 / 1.226 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/0.4203, allocations: 84.84 kB / 1.226 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005871/0.4209, allocations: 143.8 kB / 1.226 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/0.4229, allocations: 1.635 MB / 1.228 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006094/0.4235, allocations: 95.39 kB / 1.228 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.554e-05/0.4236, allocations: 27.98 kB / 1.228 GB, free: 3.859 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.0003346/0.4239, allocations: 265.5 kB / 1.228 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.4241, allocations: 82.97 kB / 1.228 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/0.4264, allocations: 1.046 MB / 1.229 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.4264, allocations: 8 kB / 1.229 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.4264, allocations: 11.92 kB / 1.229 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.507e-06/0.4265, allocations: 3.984 kB / 1.229 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009792/0.4274, allocations: 0.8918 MB / 1.23 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4274, allocations: 0 / 1.23 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005469/0.428, allocations: 143.8 kB / 1.23 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004481/0.4285, allocations: 72.78 kB / 1.23 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.4285, allocations: 23.98 kB / 1.23 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.4304, allocations: 1.654 MB / 1.232 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4304, allocations: 7.875 kB / 1.232 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.4323, allocations: 0.9084 MB / 1.233 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003251/0.4326, allocations: 267.9 kB / 1.233 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.4327, allocations: 20 kB / 1.233 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006102/0.4333, allocations: 71.91 kB / 1.233 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.4335, allocations: 72.78 kB / 1.233 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.61e-05/0.4336, allocations: 39.97 kB / 1.233 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005241/0.4341, allocations: 459 kB / 1.234 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4341, allocations: 0 / 1.234 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007536/0.4349, allocations: 319.2 kB / 1.234 GB, free: 13.26 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.003292/0.4382, allocations: 1.948 MB / 1.236 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002151/0.4403, allocations: 0.9875 MB / 1.237 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4403, allocations: 0 / 1.237 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008965/0.4412, allocations: 0.5081 MB / 1.237 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.4424, allocations: 298.8 kB / 1.238 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009359/0.4517, allocations: 6.379 MB / 1.244 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/0.4523, allocations: 1.02 MB / 1.245 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007578/0.4531, allocations: 262.7 kB / 1.245 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005031/0.4536, allocations: 399.2 kB / 1.246 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.4536, allocations: 0 / 1.246 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.435/0.8886, allocations: 21.23 MB / 1.266 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.28, allocations: 8.766 kB / 1.266 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)