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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 110 kB / 18.93 MB, free: 2.945 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.001382/0.001382, allocations: 189.3 kB / 22.23 MB, free: 5.16 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.344/1.344, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.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.002381/0.002381, allocations: 288.2 kB / 306.5 MB, free: 8.336 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.194/1.194, allocations: 180.9 MB / 0.53 GB, free: 14.44 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: translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002687/0.002687, allocations: 107.4 kB / 0.7309 GB, free: 39 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1498, allocations: 94.2 MB / 0.8228 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1933/0.3431, allocations: 166.7 MB / 0.9857 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01221/0.3553, allocations: 7.967 MB / 0.9935 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.3564, allocations: 43.69 kB / 0.9935 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.3575, allocations: 428.9 kB / 0.9939 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003619/0.3612, allocations: 1.361 MB / 0.9952 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002829/0.364, allocations: 1.221 MB / 0.9964 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003073/0.3671, allocations: 2.396 MB / 0.9988 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.3684, allocations: 0.9759 MB / 0.9997 GB, free: 12 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.3697, allocations: 0.8447 MB / 1.001 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/0.3712, allocations: 0.809 MB / 1.001 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002749/0.3714, allocations: 152 kB / 1.001 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.3744, allocations: 1.182 MB / 1.003 GB, free: 9.004 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000529/0.375, allocations: 438.6 kB / 1.003 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0009526/0.3759, allocations: 0.7812 MB / 1.004 GB, free: 7.789 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003886/0.3798, allocations: 2.421 MB / 1.006 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3798, allocations: 0 / 1.006 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.255e-06/0.3798, allocations: 0 / 1.006 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.905e-05/0.3798, allocations: 0 / 1.006 GB, free: 5.359 MB / 0.7481 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.003621/0.3834, allocations: 1.852 MB / 1.008 GB, free: 3.461 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3835, allocations: 12.03 kB / 1.008 GB, free: 3.449 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/0.3853, allocations: 334.7 kB / 1.008 GB, free: 3.121 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.3871, allocations: 0.9395 MB / 1.009 GB, free: 2.148 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.243e-05/0.3872, allocations: 94.17 kB / 1.009 GB, free: 2.055 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.3873, allocations: 104 kB / 1.009 GB, free: 1.953 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.3894, allocations: 1.172 MB / 1.011 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.3894, allocations: 7.891 kB / 1.011 GB, free: 0.7031 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.3895, allocations: 52 kB / 1.011 GB, free: 0.6523 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.655e-05/0.3896, allocations: 46.05 kB / 1.011 GB, free: 0.6055 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3705/0.7601, allocations: 1.3 MB / 1.012 GB, free: 189.2 MB / 0.7481 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.005221/0.7653, allocations: 3.736 MB / 1.016 GB, free: 187.9 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.7668, allocations: 0.9472 MB / 1.017 GB, free: 187.5 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005702/0.7674, allocations: 363.4 kB / 1.017 GB, free: 187.4 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 7.195e-05/0.7675, allocations: 34.89 kB / 1.017 GB, free: 187.4 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.7685, allocations: 0.5862 MB / 1.017 GB, free: 187.2 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=102): time 2.435e-06/0.7685, allocations: 0 / 1.017 GB, free: 187.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=102): time 0.003543/0.772, allocations: 1.367 MB / 1.019 GB, free: 186.7 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.7721, allocations: 197 kB / 1.019 GB, free: 186.4 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.7732, allocations: 0.8371 MB / 1.02 GB, free: 186.1 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.329e-05/0.7732, allocations: 51.42 kB / 1.02 GB, free: 186 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000337/0.7736, allocations: 0.5265 MB / 1.02 GB, free: 185.7 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.7738, allocations: 362 kB / 1.021 GB, free: 185.4 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002888/0.7741, allocations: 201.3 kB / 1.021 GB, free: 185.3 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 6.626e-05/0.7742, allocations: 349.8 kB / 1.021 GB, free: 185 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006285/0.7748, allocations: 332.8 kB / 1.022 GB, free: 184.9 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007504/0.7755, allocations: 479.9 kB / 1.022 GB, free: 184.7 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.7769, allocations: 0.7957 MB / 1.023 GB, free: 184.3 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.7769, allocations: 0.7812 kB / 1.023 GB, free: 184.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002323/0.7792, allocations: 1.082 MB / 1.024 GB, free: 183.8 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.7792, allocations: 6.219 kB / 1.024 GB, free: 183.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.7792, allocations: 2.906 kB / 1.024 GB, free: 183.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006049/0.7798, allocations: 85.77 kB / 1.024 GB, free: 183.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008959/0.7807, allocations: 215.4 kB / 1.024 GB, free: 183.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.7826, allocations: 1.531 MB / 1.026 GB, free: 182.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.7836, allocations: 111.6 kB / 1.026 GB, free: 182.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.7837, allocations: 44.83 kB / 1.026 GB, free: 182.3 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (124): * Single equations (assignments): 123 * 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.0006148/0.7844, allocations: 328.5 kB / 1.026 GB, free: 182.1 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.7846, allocations: 119.8 kB / 1.026 GB, free: 182.1 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002788/0.7874, allocations: 1.242 MB / 1.027 GB, free: 181.6 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.7874, allocations: 13.94 kB / 1.027 GB, free: 181.6 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.7874, allocations: 0.5 kB / 1.027 GB, free: 181.6 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.7874, allocations: 7.828 kB / 1.027 GB, free: 181.6 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.789, allocations: 1.138 MB / 1.029 GB, free: 181 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.789, allocations: 1.938 kB / 1.029 GB, free: 181 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009331/0.79, allocations: 213.1 kB / 1.029 GB, free: 181 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004427/0.7904, allocations: 71.05 kB / 1.029 GB, free: 180.9 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.05e-05/0.7905, allocations: 33.75 kB / 1.029 GB, free: 180.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/0.792, allocations: 1.553 MB / 1.03 GB, free: 179.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.792, allocations: 1.203 kB / 1.03 GB, free: 179.4 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/0.7946, allocations: 1.578 MB / 1.032 GB, free: 178.6 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004638/0.7951, allocations: 250.7 kB / 1.032 GB, free: 178.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.7952, allocations: 19.91 kB / 1.032 GB, free: 178.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007854/0.796, allocations: 79.08 kB / 1.032 GB, free: 178.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.7961, allocations: 84.23 kB / 1.032 GB, free: 178.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.809e-05/0.7962, allocations: 43.64 kB / 1.032 GB, free: 178.3 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005811/0.7968, allocations: 0.5777 MB / 1.033 GB, free: 178 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.7968, allocations: 3.938 kB / 1.033 GB, free: 178 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009228/0.7977, allocations: 435.8 kB / 1.033 GB, free: 177.9 MB / 0.7481 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.001791/0.7995, allocations: 0.6277 MB / 1.034 GB, free: 177.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002081/0.8016, allocations: 0.9608 MB / 1.035 GB, free: 177.2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.8016, allocations: 7.578 kB / 1.035 GB, free: 177.2 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009578/0.8025, allocations: 0.5609 MB / 1.035 GB, free: 176.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/0.8049, allocations: 0.4955 MB / 1.036 GB, free: 176.6 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/0.8089, allocations: 2.48 MB / 1.038 GB, free: 174.4 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006553/0.8095, allocations: 1.157 MB / 1.04 GB, free: 173.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00104/0.8106, allocations: 321.2 kB / 1.04 GB, free: 172.9 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.8109, allocations: 127.4 kB / 1.04 GB, free: 172.8 MB / 0.7481 GB Notification: Performance of SimCode: time 1.152e-06/0.8109, allocations: 0 / 1.04 GB, free: 172.8 MB / 0.7481 GB Notification: Performance of Templates: time 0.03004/0.8409, allocations: 21.79 MB / 1.061 GB, free: 151.3 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.204809161834419] Failed to read output from testmodel.py, exit status != 0: 0.8479302106425166 0.8580674920000001 0.47601100500000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd3be38d7b0>