Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.SimpleHouse3,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3",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.001367/0.001367, 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.001399/0.001399, allocations: 191.5 kB / 16.25 MB, free: 6.645 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.394/1.394, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002555/0.002555, allocations: 294.8 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.04/1.04, allocations: 178.6 MB / 0.507 GB, free: 4.703 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002655/0.002655, allocations: 101.4 kB / 0.606 GB, free: 25.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1575, allocations: 89.15 MB / 0.6931 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.4467/0.6042, allocations: 163.8 MB / 0.853 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01146/0.6157, allocations: 7.699 MB / 0.8605 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.6169, allocations: 32.16 kB / 0.8605 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.6181, allocations: 334.4 kB / 0.8609 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003458/0.6216, allocations: 1.205 MB / 0.862 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00255/0.6242, allocations: 1.044 MB / 0.8631 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002716/0.6269, allocations: 2.354 MB / 0.8654 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/0.6286, allocations: 1.187 MB / 0.8665 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.6298, allocations: 0.8128 MB / 0.8673 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/0.6314, allocations: 0.8122 MB / 0.8681 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.6316, allocations: 154.8 kB / 0.8683 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.6333, allocations: 1.131 MB / 0.8694 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000374/0.6337, allocations: 433 kB / 0.8698 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008018/0.6345, allocations: 0.7817 MB / 0.8705 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002651/0.6372, allocations: 2.41 MB / 0.8729 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6372, allocations: 2.875 kB / 0.8729 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6372, allocations: 0 / 0.8729 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.057e-05/0.6373, allocations: 0 / 0.8729 GB, free: 2.75 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003154/0.6404, allocations: 1.888 MB / 0.8747 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.6405, allocations: 9.531 kB / 0.8747 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002036/0.6407, allocations: 167 kB / 0.8749 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.6425, allocations: 323.1 kB / 0.8752 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.6438, allocations: 0.9986 MB / 0.8762 GB, free: 232 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.775e-05/0.6439, allocations: 81.45 kB / 0.8763 GB, free: 192 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.6441, allocations: 106.3 kB / 0.8764 GB, free: 160 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.6461, allocations: 1.178 MB / 0.8775 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.6462, allocations: 0 / 0.8775 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.6463, allocations: 44 kB / 0.8776 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.575e-05/0.6463, allocations: 50 kB / 0.8776 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/0.6485, allocations: 1.304 MB / 0.8789 GB, free: 13.54 MB / 0.6075 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.005437/0.6539, allocations: 3.83 MB / 0.8826 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.6557, allocations: 1.001 MB / 0.8836 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006697/0.6564, allocations: 397.7 kB / 0.884 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.045e-05/0.6565, allocations: 37.02 kB / 0.884 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.6575, allocations: 0.5865 MB / 0.8846 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=102): time 2.354e-06/0.6575, allocations: 4 kB / 0.8846 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=102): time 0.00363/0.6612, allocations: 1.439 MB / 0.886 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.6613, allocations: 196.9 kB / 0.8862 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.6624, allocations: 0.8263 MB / 0.887 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.312e-05/0.6625, allocations: 49.7 kB / 0.887 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004713/0.6629, allocations: 0.5237 MB / 0.8875 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/0.6632, allocations: 339 kB / 0.8879 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002837/0.6635, allocations: 182.5 kB / 0.888 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.6637, allocations: 345.9 kB / 0.8884 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006287/0.6643, allocations: 315.6 kB / 0.8887 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007716/0.6651, allocations: 479.6 kB / 0.8891 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.6665, allocations: 0.7737 MB / 0.8899 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.6665, allocations: 0 / 0.8899 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002251/0.6688, allocations: 1.024 MB / 0.8909 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.6688, allocations: 10.03 kB / 0.8909 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.6688, allocations: 4 kB / 0.8909 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006076/0.6694, allocations: 84.77 kB / 0.891 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008272/0.6703, allocations: 215.6 kB / 0.8912 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/0.6725, allocations: 1.638 MB / 0.8928 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.6735, allocations: 123.1 kB / 0.8929 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-05/0.6736, allocations: 35.98 kB / 0.8929 GB, free: 14.55 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (116): * Single equations (assignments): 115 * 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.0005815/0.6742, allocations: 316.7 kB / 0.8932 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.6745, allocations: 114.6 kB / 0.8934 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002758/0.6772, allocations: 1.259 MB / 0.8946 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.6772, allocations: 12 kB / 0.8946 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.6772, allocations: 0 / 0.8946 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.6773, allocations: 11.97 kB / 0.8946 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.6788, allocations: 1.169 MB / 0.8957 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.6788, allocations: 0 / 0.8957 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008941/0.6797, allocations: 211.8 kB / 0.8959 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004572/0.6802, allocations: 68.8 kB / 0.896 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.54e-05/0.6803, allocations: 35.97 kB / 0.896 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/0.6823, allocations: 1.654 MB / 0.8977 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.6823, allocations: 4.719 kB / 0.8977 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003085/0.6854, allocations: 1.57 MB / 0.8992 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004854/0.6859, allocations: 327.2 kB / 0.8995 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.6861, allocations: 20 kB / 0.8995 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008825/0.687, allocations: 95.81 kB / 0.8996 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.6871, allocations: 80.89 kB / 0.8997 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.412e-05/0.6872, allocations: 40.2 kB / 0.8997 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007866/0.688, allocations: 0.586 MB / 0.9003 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.688, allocations: 0 / 0.9003 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001016/0.6891, allocations: 423.1 kB / 0.9007 GB, free: 6.312 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.005119/0.6942, allocations: 2.642 MB / 0.9033 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002907/0.6971, allocations: 1.235 MB / 0.9045 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.6971, allocations: 0 / 0.9045 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.6982, allocations: 0.6018 MB / 0.9051 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.7001, allocations: 499.4 kB / 0.9056 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/0.7154, allocations: 9.16 MB / 0.9145 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008058/0.7162, allocations: 1.157 MB / 0.9156 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001121/0.7173, allocations: 333 kB / 0.916 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007232/0.7181, allocations: 0.5149 MB / 0.9165 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of SimCode: time 4.61e-07/0.7181, allocations: 0 / 0.9165 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06128/0.7793, allocations: 29.11 MB / 0.9449 GB, free: 9.34 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004183/0.7798, allocations: 290.8 kB / 0.9452 GB, free: 8.961 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/3.438, allocations: 0 / 0.9452 GB, free: 8.961 MB / 0.67 GB (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)