Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009219/0.0009219, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009647/0.0009647, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8512/0.8512, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002255/0.002255, allocations: 241.2 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.655/0.655, allocations: 138.4 MB / 454.3 MB, free: 30.01 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.6463 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/2.049e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.2282/0.2282, allocations: 4.733 MB / 0.6509 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.1074/0.3356, allocations: 132.8 MB / 0.7806 GB, free: 1.297 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000893/0.3365, allocations: 23.81 kB / 0.7806 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005236/0.337, allocations: 206.1 kB / 0.7808 GB, free: 1.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.3386, allocations: 0.6031 MB / 0.7814 GB, free: 480 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.3402, allocations: 0.8779 MB / 0.7822 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00142/0.3416, allocations: 1.511 MB / 0.7837 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006549/0.3423, allocations: 417.4 kB / 0.7841 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009049/0.3432, allocations: 0.7601 MB / 0.7849 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007011/0.3439, allocations: 418.8 kB / 0.7853 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.344, allocations: 124 kB / 0.7854 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007955/0.3448, allocations: 0.4915 MB / 0.7859 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.345, allocations: 318.9 kB / 0.7862 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002925/0.3453, allocations: 414.9 kB / 0.7866 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.3473, allocations: 1.826 MB / 0.7883 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3473, allocations: 0 / 0.7883 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.664e-06/0.3473, allocations: 0 / 0.7883 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.914e-05/0.3474, allocations: 0.6562 kB / 0.7883 GB, free: 9.32 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.00239/0.3498, allocations: 1.475 MB / 0.7898 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3498, allocations: 9.938 kB / 0.7898 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.3499, allocations: 139.7 kB / 0.7899 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007963/0.3507, allocations: 247.9 kB / 0.7902 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009247/0.3516, allocations: 0.7258 MB / 0.7909 GB, free: 6.664 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.3517, allocations: 69.94 kB / 0.7909 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.794e-05/0.3518, allocations: 88.61 kB / 0.791 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.3529, allocations: 1.213 MB / 0.7922 GB, free: 5.195 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.3529, allocations: 3.984 kB / 0.7922 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.075e-05/0.3529, allocations: 36 kB / 0.7922 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.3529, allocations: 20 kB / 0.7923 GB, free: 5.137 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.354, allocations: 1.097 MB / 0.7933 GB, free: 4.039 MB / 0.6198 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.002327/0.3563, allocations: 2.296 MB / 0.7956 GB, free: 1.684 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009732/0.3573, allocations: 0.8021 MB / 0.7964 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/0.3576, allocations: 300 kB / 0.7966 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.061e-05/0.3577, allocations: 20.64 kB / 0.7967 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005763/0.3582, allocations: 0.6085 MB / 0.7973 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=85): time 1.954e-06/0.3582, allocations: 4 kB / 0.7973 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85): time 0.001777/0.36, allocations: 1.178 MB / 0.7984 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.3601, allocations: 192.9 kB / 0.7986 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005766/0.3607, allocations: 0.6725 MB / 0.7993 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/0.3608, allocations: 49.69 kB / 0.7993 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.361, allocations: 425 kB / 0.7997 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.3612, allocations: 285.6 kB / 0.8 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.3613, allocations: 154.6 kB / 0.8001 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3614, allocations: 390.8 kB / 0.8005 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.3617, allocations: 253.9 kB / 0.8007 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005458/0.3623, allocations: 0.4951 MB / 0.8012 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/0.363, allocations: 0.6086 MB / 0.8018 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.363, allocations: 0 / 0.8018 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001073/0.364, allocations: 0.8297 MB / 0.8026 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3641, allocations: 11.94 kB / 0.8026 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3641, allocations: 0 / 0.8026 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003052/0.3644, allocations: 88.8 kB / 0.8027 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.3647, allocations: 163.8 kB / 0.8029 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.366, allocations: 1.522 MB / 0.8044 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003366/0.3663, allocations: 91.5 kB / 0.8045 GB, free: 8.266 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.3663, allocations: 31.92 kB / 0.8045 GB, free: 8.234 MB / 0.6355 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 (92): * Single equations (assignments): 91 * 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.000555/0.3669, allocations: 277.5 kB / 0.8048 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.822e-05/0.367, allocations: 95.44 kB / 0.8048 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.3683, allocations: 1.095 MB / 0.8059 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3683, allocations: 8 kB / 0.8059 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3683, allocations: 6.625 kB / 0.8059 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3683, allocations: 3.984 kB / 0.8059 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006261/0.369, allocations: 0.782 MB / 0.8067 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.369, allocations: 0 / 0.8067 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.3693, allocations: 160.7 kB / 0.8068 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002011/0.3695, allocations: 72.78 kB / 0.8069 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/0.3695, allocations: 27.92 kB / 0.8069 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.3706, allocations: 1.554 MB / 0.8085 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3706, allocations: 0.625 kB / 0.8085 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.3721, allocations: 1.371 MB / 0.8098 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.3724, allocations: 203.1 kB / 0.81 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.3725, allocations: 23.98 kB / 0.81 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/0.3728, allocations: 68.56 kB / 0.8101 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.3729, allocations: 72.86 kB / 0.8102 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.485e-05/0.3729, allocations: 39.97 kB / 0.8102 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004023/0.3733, allocations: 495 kB / 0.8107 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.3733, allocations: 0 / 0.8107 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006101/0.3739, allocations: 335.1 kB / 0.811 GB, free: 1.387 MB / 0.6355 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 (96): * Single equations (assignments): 90 * 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.002989/0.3769, allocations: 2.477 MB / 0.8134 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009927/0.3779, allocations: 0.7922 MB / 0.8142 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3779, allocations: 0 / 0.8142 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005057/0.3784, allocations: 0.5043 MB / 0.8147 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006602/0.3791, allocations: 326.5 kB / 0.815 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006826/0.3859, allocations: 6.582 MB / 0.8214 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.3862, allocations: 465.1 kB / 0.8218 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005024/0.3867, allocations: 267 kB / 0.8221 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003794/0.3871, allocations: 416.3 kB / 0.8225 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of SimCode: time 6.51e-07/0.3871, allocations: 0 / 0.8225 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03796/0.425, allocations: 24.37 MB / 0.8463 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.132/8.557, allocations: 2.031 kB / 0.8463 GB, free: 13.61 MB / 0.6823 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.164913054555655] Failed to read output from testmodel.py, exit status != 0: 8.705475688911974 8.713353028 8.364203346 Calling exit ...