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.001153/0.001153, allocations: 105.7 kB / 17.54 MB, free: 4.746 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.001145/0.001145, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.285/1.285, allocations: 225.6 MB / 249.3 MB, free: 3.215 MB / 190.1 MB " [Timeout remaining time 179] 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.002228/0.002228, allocations: 280.5 kB / 304.7 MB, free: 3.547 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 0.9736/0.9736, allocations: 180.9 MB / 0.5281 GB, free: 1.969 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.002639/0.002639, allocations: 103.8 kB / 0.7277 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.4243, allocations: 94.16 MB / 0.8196 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006612/0.4309, allocations: 5.17 MB / 0.8247 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1631/0.594, allocations: 151.2 MB / 0.9723 GB, free: 0.9961 MB / 0.7013 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008222/0.5948, allocations: 15.94 kB / 0.9724 GB, free: 0.9805 MB / 0.7013 GB Notification: Performance of NFTyping.typeComponents: time 0.0005623/0.5954, allocations: 198.1 kB / 0.9726 GB, free: 0.7852 MB / 0.7013 GB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.597, allocations: 0.5667 MB / 0.9731 GB, free: 224 kB / 0.7013 GB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.5989, allocations: 0.8562 MB / 0.9739 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001483/0.6004, allocations: 1.428 MB / 0.9753 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006759/0.6011, allocations: 421.6 kB / 0.9757 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006148/0.6017, allocations: 0.4905 MB / 0.9762 GB, free: 13 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006282/0.6023, allocations: 0.5134 MB / 0.9767 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.6025, allocations: 120 kB / 0.9768 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000898/0.6034, allocations: 495.5 kB / 0.9773 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002834/0.6036, allocations: 299 kB / 0.9776 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005142/0.6042, allocations: 0.5674 MB / 0.9781 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001833/0.606, allocations: 1.684 MB / 0.9798 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.606, allocations: 0 / 0.9798 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.606, allocations: 0 / 0.9798 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.598e-05/0.606, allocations: 0 / 0.9798 GB, free: 9.332 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.002413/0.6084, allocations: 1.511 MB / 0.9813 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.6085, allocations: 8.031 kB / 0.9813 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001593/0.6086, allocations: 131.6 kB / 0.9814 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008575/0.6095, allocations: 208 kB / 0.9816 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.6106, allocations: 0.7785 MB / 0.9824 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.703e-05/0.6106, allocations: 66 kB / 0.9824 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.6107, allocations: 84 kB / 0.9825 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.6122, allocations: 0.9301 MB / 0.9834 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.6122, allocations: 4 kB / 0.9834 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.914e-05/0.6123, allocations: 36 kB / 0.9834 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.6124, allocations: 20 kB / 0.9835 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.6141, allocations: 1.128 MB / 0.9846 GB, free: 4.297 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.003843/0.618, allocations: 2.744 MB / 0.9872 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.6194, allocations: 0.7613 MB / 0.988 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005154/0.6199, allocations: 282.7 kB / 0.9883 GB, free: 388 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.411e-05/0.62, allocations: 24.61 kB / 0.9883 GB, free: 364 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008277/0.6208, allocations: 0.5048 MB / 0.9888 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 2.064e-06/0.6208, allocations: 3.938 kB / 0.9888 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.003087/0.6239, allocations: 1.206 MB / 0.99 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.624, allocations: 192.6 kB / 0.9901 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007654/0.6248, allocations: 0.6449 MB / 0.9908 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.68e-05/0.6249, allocations: 41.7 kB / 0.9908 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.6252, allocations: 421 kB / 0.9912 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.6254, allocations: 281.6 kB / 0.9915 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/0.6256, allocations: 146.6 kB / 0.9916 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.6258, allocations: 390.7 kB / 0.992 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004918/0.6263, allocations: 245.9 kB / 0.9922 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/0.6269, allocations: 362.5 kB / 0.9926 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.628, allocations: 0.5877 MB / 0.9931 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.628, allocations: 8 kB / 0.9932 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001833/0.6298, allocations: 0.8179 MB / 0.994 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.6298, allocations: 8 kB / 0.994 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.6298, allocations: 0 / 0.994 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005512/0.6304, allocations: 80.88 kB / 0.994 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/0.631, allocations: 155.8 kB / 0.9942 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.6332, allocations: 1.627 MB / 0.9958 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000624/0.6338, allocations: 97.62 kB / 0.9959 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.6339, allocations: 35.92 kB / 0.9959 GB, free: 8.227 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.0003723/0.6342, allocations: 257.8 kB / 0.9961 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.6344, allocations: 91.42 kB / 0.9962 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/0.6367, allocations: 1.077 MB / 0.9973 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.6367, allocations: 12 kB / 0.9973 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.6367, allocations: 0 / 0.9973 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.6367, allocations: 3.984 kB / 0.9973 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.6378, allocations: 0.9114 MB / 0.9982 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.6378, allocations: 0 / 0.9982 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006263/0.6384, allocations: 155.8 kB / 0.9983 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000428/0.6388, allocations: 84.64 kB / 0.9984 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.336e-05/0.6389, allocations: 23.98 kB / 0.9984 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001915/0.6408, allocations: 1.65 MB / 1 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.6408, allocations: 0 / 1 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.6434, allocations: 1.344 MB / 1.001 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/0.6437, allocations: 272.2 kB / 1.002 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.6438, allocations: 27.98 kB / 1.002 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005993/0.6444, allocations: 64 kB / 1.002 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.6446, allocations: 76.83 kB / 1.002 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-05/0.6446, allocations: 35.98 kB / 1.002 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000579/0.6452, allocations: 467 kB / 1.002 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.6452, allocations: 0 / 1.002 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008218/0.646, allocations: 339.1 kB / 1.003 GB, free: 1.117 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.004507/0.6505, allocations: 2.382 MB / 1.005 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001588/0.6521, allocations: 0.7882 MB / 1.006 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6521, allocations: 4 kB / 1.006 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008934/0.653, allocations: 496.4 kB / 1.006 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.6541, allocations: 303.5 kB / 1.006 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009836/0.6639, allocations: 6.387 MB / 1.013 GB, free: 6.77 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006361/0.6646, allocations: 1.039 MB / 1.014 GB, free: 5.703 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007081/0.6653, allocations: 266.7 kB / 1.014 GB, free: 5.438 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005338/0.6658, allocations: 403.3 kB / 1.014 GB, free: 5.043 MB / 0.7481 GB Notification: Performance of SimCode: time 7.41e-07/0.6658, allocations: 0 / 1.014 GB, free: 5.043 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05768/0.7235, allocations: 22.1 MB / 1.036 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.44, allocations: 3.453 kB / 1.036 GB, free: 15.19 MB / 0.7794 GB " [Timeout remaining time 647] (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 --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: 16.07919090300129]