Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 102.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002393/0.002393, allocations: 285.5 kB / 303 MB, free: 3.641 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.067/1.067, allocations: 180.9 MB / 0.5261 GB, free: 2.789 MB / 382.1 MB " [Timeout remaining time 179] 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.SimpleHouse1,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002769/0.002769, allocations: 96.12 kB / 0.7247 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6283/0.6311, allocations: 94.16 MB / 0.8167 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.005676/0.6368, allocations: 5.127 MB / 0.8217 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1958/0.8326, allocations: 151.1 MB / 0.9693 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.8337, allocations: 19.88 kB / 0.9693 GB, free: 4.301 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006784/0.8343, allocations: 198.1 kB / 0.9695 GB, free: 4.105 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002028/0.8364, allocations: 0.5665 MB / 0.97 GB, free: 3.539 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.8386, allocations: 0.8507 MB / 0.9709 GB, free: 2.695 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001935/0.8405, allocations: 1.42 MB / 0.9722 GB, free: 1.27 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000782/0.8413, allocations: 421.7 kB / 0.9726 GB, free: 0.8281 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008255/0.8421, allocations: 0.4944 MB / 0.9731 GB, free: 340 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007018/0.8428, allocations: 0.5212 MB / 0.9736 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.843, allocations: 116 kB / 0.9737 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.844, allocations: 491.6 kB / 0.9742 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003169/0.8443, allocations: 303 kB / 0.9745 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005683/0.8449, allocations: 0.5791 MB / 0.9751 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002246/0.8471, allocations: 1.668 MB / 0.9767 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.8471, allocations: 3.984 kB / 0.9767 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8472, allocations: 0 / 0.9767 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.8472, allocations: 0 / 0.9767 GB, free: 12.66 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002871/0.85, allocations: 1.511 MB / 0.9782 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.8501, allocations: 8.031 kB / 0.9782 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001855/0.8503, allocations: 139.6 kB / 0.9783 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009224/0.8512, allocations: 192.1 kB / 0.9785 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.8525, allocations: 0.7824 MB / 0.9793 GB, free: 9.93 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.006e-05/0.8526, allocations: 62 kB / 0.9793 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.8527, allocations: 87.95 kB / 0.9794 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.8544, allocations: 0.9417 MB / 0.9803 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.8544, allocations: 0 / 0.9803 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.241e-05/0.8545, allocations: 36 kB / 0.9804 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.889e-05/0.8545, allocations: 24 kB / 0.9804 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.8564, allocations: 1.124 MB / 0.9815 GB, free: 7.621 MB / 0.7169 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.004612/0.861, allocations: 2.736 MB / 0.9842 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.8626, allocations: 0.7691 MB / 0.9849 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005288/0.8631, allocations: 282.7 kB / 0.9852 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.788e-05/0.8632, allocations: 28.62 kB / 0.9852 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000922/0.8641, allocations: 0.4893 MB / 0.9857 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=82): time 2.344e-06/0.8641, allocations: 3.938 kB / 0.9857 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=82): time 0.003518/0.8676, allocations: 1.214 MB / 0.9869 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.8678, allocations: 192.6 kB / 0.987 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.8688, allocations: 0.6372 MB / 0.9877 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.749e-05/0.8689, allocations: 45.7 kB / 0.9877 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004612/0.8694, allocations: 421 kB / 0.9881 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003029/0.8697, allocations: 277.6 kB / 0.9884 GB, free: 312 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/0.87, allocations: 154.5 kB / 0.9885 GB, free: 152 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002514/0.8702, allocations: 390.7 kB / 0.9889 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005244/0.8707, allocations: 245.9 kB / 0.9891 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006349/0.8714, allocations: 370.5 kB / 0.9895 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.8725, allocations: 0.5877 MB / 0.9901 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8725, allocations: 0 / 0.9901 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001986/0.8745, allocations: 0.814 MB / 0.9909 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.8745, allocations: 8 kB / 0.9909 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.8745, allocations: 0 / 0.9909 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005903/0.8751, allocations: 80.88 kB / 0.9909 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/0.8758, allocations: 167.7 kB / 0.9911 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/0.8784, allocations: 1.619 MB / 0.9927 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000849/0.8793, allocations: 98 kB / 0.9928 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.65e-05/0.8793, allocations: 31.98 kB / 0.9928 GB, free: 11.56 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (89): * Single equations (assignments): 88 * 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.000618/0.88, allocations: 263.4 kB / 0.9931 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.8802, allocations: 91.42 kB / 0.9931 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/0.8827, allocations: 1.077 MB / 0.9942 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.8827, allocations: 8 kB / 0.9942 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-06/0.8827, allocations: 0 / 0.9942 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.8827, allocations: 3.984 kB / 0.9942 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.8838, allocations: 0.9153 MB / 0.9951 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.8838, allocations: 7.984 kB / 0.9951 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006064/0.8845, allocations: 151.8 kB / 0.9953 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004454/0.8849, allocations: 76.66 kB / 0.9953 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.656e-05/0.885, allocations: 27.97 kB / 0.9954 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.887, allocations: 1.65 MB / 0.997 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.887, allocations: 0 / 0.997 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002733/0.8898, allocations: 1.34 MB / 0.9983 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005224/0.8903, allocations: 284.3 kB / 0.9985 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.8904, allocations: 23.94 kB / 0.9986 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005898/0.891, allocations: 61.72 kB / 0.9986 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.8912, allocations: 76.89 kB / 0.9987 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.758e-05/0.8912, allocations: 27.98 kB / 0.9987 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006723/0.8919, allocations: 471 kB / 0.9992 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8919, allocations: 4 kB / 0.9992 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009106/0.8928, allocations: 339 kB / 0.9995 GB, free: 4.445 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (93): * Single equations (assignments): 87 * 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.004902/0.8977, allocations: 2.378 MB / 1.002 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001728/0.8994, allocations: 0.7882 MB / 1.003 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8994, allocations: 0 / 1.003 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009467/0.9004, allocations: 0.4926 MB / 1.003 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.9016, allocations: 304.9 kB / 1.003 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.9127, allocations: 6.386 MB / 1.01 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007541/0.9135, allocations: 1.035 MB / 1.011 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008921/0.9143, allocations: 262.7 kB / 1.011 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005819/0.9149, allocations: 403.3 kB / 1.011 GB, free: 8.387 MB / 0.7481 GB Notification: Performance of SimCode: time 9.41e-07/0.9149, allocations: 0 / 1.011 GB, free: 8.387 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06533/0.9803, allocations: 22.07 MB / 1.033 GB, free: 2.613 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/14.26, allocations: 0 / 1.033 GB, free: 2.613 MB / 0.7637 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.436731525231153] Failed to read output from testmodel.py, exit status != 0: 14.466377064120024 14.495382752 13.642976729 Calling exit ...