Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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: translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001855/0.001855, 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.001987/0.001987, allocations: 192.8 kB / 16.14 MB, free: 6.723 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.539/1.539, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003465/0.003465, allocations: 287.2 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.116/1.116, allocations: 178.6 MB / 0.5068 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002683/0.002683, allocations: 98.69 kB / 0.6057 GB, free: 25.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1842, allocations: 89.15 MB / 0.6928 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006728/0.191, allocations: 4.913 MB / 0.6976 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4778/0.6688, allocations: 148.3 MB / 0.8424 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000786/0.6697, allocations: 19.59 kB / 0.8424 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005873/0.6703, allocations: 151.9 kB / 0.8425 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.6718, allocations: 471 kB / 0.843 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.6736, allocations: 0.7136 MB / 0.8437 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001362/0.675, allocations: 1.284 MB / 0.8449 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008446/0.6758, allocations: 0.5601 MB / 0.8455 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005879/0.6764, allocations: 409.5 kB / 0.8459 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005179/0.677, allocations: 468 kB / 0.8463 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.6771, allocations: 55.25 kB / 0.8464 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008114/0.6779, allocations: 404.8 kB / 0.8468 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.6782, allocations: 225.4 kB / 0.847 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004702/0.6786, allocations: 0.5071 MB / 0.8475 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.6801, allocations: 1.521 MB / 0.849 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.6801, allocations: 0 / 0.849 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.81e-07/0.6802, allocations: 0 / 0.849 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.6802, allocations: 0 / 0.849 GB, free: 5.098 MB / 0.5762 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.002578/0.6828, allocations: 1.425 MB / 0.8503 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.6828, allocations: 9.062 kB / 0.8504 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009068/0.6837, allocations: 187.5 kB / 0.8505 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.6848, allocations: 0.7375 MB / 0.8513 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-05/0.6848, allocations: 69.64 kB / 0.8513 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.643e-05/0.6849, allocations: 77.41 kB / 0.8514 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.6865, allocations: 0.9072 MB / 0.8523 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.6865, allocations: 3.938 kB / 0.8523 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.453e-05/0.6866, allocations: 36.25 kB / 0.8523 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.6866, allocations: 26.47 kB / 0.8523 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.6883, allocations: 1.095 MB / 0.8534 GB, free: 2.074 MB / 0.5762 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.004058/0.6924, allocations: 2.775 MB / 0.8561 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.6938, allocations: 0.7786 MB / 0.8569 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005043/0.6944, allocations: 294.6 kB / 0.8572 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.54e-05/0.6944, allocations: 35.67 kB / 0.8572 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008939/0.6953, allocations: 495.6 kB / 0.8577 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.996e-06/0.6954, allocations: 0 / 0.8577 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.003148/0.6985, allocations: 1.169 MB / 0.8588 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.6986, allocations: 188.3 kB / 0.859 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007737/0.6994, allocations: 0.6403 MB / 0.8596 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.341e-05/0.6995, allocations: 42.39 kB / 0.8597 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/0.6999, allocations: 403.7 kB / 0.86 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.7001, allocations: 249.9 kB / 0.8603 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/0.7004, allocations: 168 kB / 0.8604 GB, free: 13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002133/0.7006, allocations: 390.2 kB / 0.8608 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005005/0.7011, allocations: 260.8 kB / 0.8611 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006026/0.7017, allocations: 360 kB / 0.8614 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.7028, allocations: 0.6037 MB / 0.862 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.7028, allocations: 2.812 kB / 0.862 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00184/0.7046, allocations: 0.8447 MB / 0.8628 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.7047, allocations: 8.531 kB / 0.8628 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.7047, allocations: 3 kB / 0.8628 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005889/0.7053, allocations: 86.8 kB / 0.8629 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/0.7059, allocations: 161.5 kB / 0.8631 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/0.708, allocations: 1.514 MB / 0.8646 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000691/0.7087, allocations: 102.1 kB / 0.8646 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.428e-05/0.7088, allocations: 42.19 kB / 0.8647 GB, free: 9.867 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (93): * Single equations (assignments): 92 * 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.0004238/0.7093, allocations: 263.3 kB / 0.8649 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.7094, allocations: 82.88 kB / 0.865 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/0.7118, allocations: 1.054 MB / 0.866 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.7118, allocations: 10.16 kB / 0.8661 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.7118, allocations: 4 kB / 0.8661 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.7118, allocations: 3.984 kB / 0.8661 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.7129, allocations: 0.8788 MB / 0.8669 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.7129, allocations: 0.875 kB / 0.8669 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000529/0.7134, allocations: 139.6 kB / 0.8671 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005251/0.714, allocations: 87.55 kB / 0.8671 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.947e-05/0.714, allocations: 26.14 kB / 0.8672 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/0.716, allocations: 1.553 MB / 0.8687 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.716, allocations: 128 / 0.8687 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.7179, allocations: 0.9111 MB / 0.8696 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/0.7183, allocations: 279.6 kB / 0.8698 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.7184, allocations: 20 kB / 0.8699 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005962/0.719, allocations: 63.94 kB / 0.8699 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.7192, allocations: 72.89 kB / 0.87 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.644e-05/0.7193, allocations: 27.98 kB / 0.87 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005975/0.7199, allocations: 459 kB / 0.8705 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7199, allocations: 0 / 0.8705 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008711/0.7207, allocations: 319.2 kB / 0.8708 GB, free: 5.035 MB / 0.5919 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.00189/0.7226, allocations: 0.604 MB / 0.8713 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001657/0.7243, allocations: 0.8166 MB / 0.8721 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7243, allocations: 0 / 0.8721 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000982/0.7253, allocations: 0.5083 MB / 0.8726 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.7265, allocations: 273.5 kB / 0.8729 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.7296, allocations: 2.085 MB / 0.8749 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007187/0.7304, allocations: 1.012 MB / 0.8759 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008293/0.7312, allocations: 262.6 kB / 0.8762 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.7315, allocations: 107.4 kB / 0.8763 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.7315, allocations: 0 / 0.8763 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of Templates: time 0.02626/0.7578, allocations: 14.38 MB / 0.8903 GB, free: 1.277 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1)