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.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.0007272/0.0007272, allocations: 76.55 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0007066/0.0007066, allocations: 177.9 kB / 23.22 MB, free: 1.328 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.8186/0.8186, allocations: 177.1 MB / 203.5 MB, free: 5.684 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.001368/0.001368, allocations: 238.4 kB / 260.2 MB, free: 13.03 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.669/0.669, allocations: 138.4 MB / 455.1 MB, free: 1.613 MB / 362.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: translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.6475 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.657e-05, allocations: 7.281 kB / 0.6475 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.004009/0.004035, allocations: 4.497 MB / 0.6519 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.1084/0.1124, allocations: 132.7 MB / 0.7815 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009176/0.1133, allocations: 23.81 kB / 0.7815 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005802/0.1139, allocations: 198.1 kB / 0.7817 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001591/0.1155, allocations: 0.585 MB / 0.7823 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.1173, allocations: 0.8637 MB / 0.7831 GB, free: 5.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001248/0.1185, allocations: 1.431 MB / 0.7845 GB, free: 4.398 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005472/0.1191, allocations: 382 kB / 0.7849 GB, free: 4.004 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007354/0.1198, allocations: 0.7211 MB / 0.7856 GB, free: 3.281 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003899/0.1202, allocations: 393.9 kB / 0.7859 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.69e-05/0.1203, allocations: 116 kB / 0.786 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007925/0.1211, allocations: 499.4 kB / 0.7865 GB, free: 2.297 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001979/0.1213, allocations: 302.9 kB / 0.7868 GB, free: 2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002485/0.1216, allocations: 387 kB / 0.7872 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.1231, allocations: 1.752 MB / 0.7889 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1231, allocations: 0 / 0.7889 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.685e-06/0.1231, allocations: 4 kB / 0.7889 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.1231, allocations: 0 / 0.7889 GB, free: 15.86 MB / 0.6355 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.001786/0.1249, allocations: 1.396 MB / 0.7903 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.1249, allocations: 8.75 kB / 0.7903 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007849/0.1257, allocations: 231.9 kB / 0.7905 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007713/0.1265, allocations: 0.7142 MB / 0.7912 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.1e-05/0.1265, allocations: 62.12 kB / 0.7912 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.577e-05/0.1266, allocations: 84 kB / 0.7913 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.1276, allocations: 1.166 MB / 0.7925 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.1276, allocations: 4 kB / 0.7925 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/0.1277, allocations: 39.98 kB / 0.7925 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.1277, allocations: 20 kB / 0.7925 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.1287, allocations: 1.046 MB / 0.7935 GB, free: 10.92 MB / 0.6355 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.002269/0.131, allocations: 2.165 MB / 0.7957 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009093/0.1319, allocations: 0.7438 MB / 0.7964 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/0.1322, allocations: 270.7 kB / 0.7966 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.157e-05/0.1323, allocations: 24.64 kB / 0.7967 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008054/0.1331, allocations: 0.5737 MB / 0.7972 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 2.094e-06/0.1331, allocations: 3.938 kB / 0.7972 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.00178/0.1349, allocations: 1.107 MB / 0.7983 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.263e-05/0.1349, allocations: 196.5 kB / 0.7985 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005117/0.1355, allocations: 0.6135 MB / 0.7991 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.1355, allocations: 41.7 kB / 0.7991 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.1357, allocations: 408.9 kB / 0.7995 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.1358, allocations: 261.8 kB / 0.7998 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.136, allocations: 158.6 kB / 0.7999 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1361, allocations: 390.8 kB / 0.8003 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/0.1364, allocations: 261.9 kB / 0.8006 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/0.1368, allocations: 488.5 kB / 0.801 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006725/0.1375, allocations: 0.6042 MB / 0.8016 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1375, allocations: 0 / 0.8016 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001112/0.1386, allocations: 0.8491 MB / 0.8024 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1387, allocations: 8 kB / 0.8024 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1387, allocations: 0 / 0.8024 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000321/0.139, allocations: 84.89 kB / 0.8025 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004144/0.1394, allocations: 159.7 kB / 0.8027 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.141, allocations: 1.496 MB / 0.8041 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.1413, allocations: 91.66 kB / 0.8042 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.1414, allocations: 35.98 kB / 0.8043 GB, free: 15.57 MB / 0.6511 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.0003052/0.1417, allocations: 259.7 kB / 0.8045 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.1418, allocations: 91.42 kB / 0.8046 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.1431, allocations: 1.046 MB / 0.8056 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.1431, allocations: 8 kB / 0.8056 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1431, allocations: 0 / 0.8056 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.1431, allocations: 7.969 kB / 0.8056 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005668/0.1437, allocations: 0.6381 MB / 0.8063 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1437, allocations: 0 / 0.8063 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.1439, allocations: 139.8 kB / 0.8064 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002142/0.1442, allocations: 76.72 kB / 0.8065 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.1442, allocations: 31.91 kB / 0.8065 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.1453, allocations: 1.52 MB / 0.808 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1453, allocations: 4.094 kB / 0.808 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.1464, allocations: 0.9166 MB / 0.8089 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002508/0.1466, allocations: 187.2 kB / 0.8091 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.387e-05/0.1467, allocations: 23.92 kB / 0.8091 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.1469, allocations: 67.03 kB / 0.8091 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.147, allocations: 76.86 kB / 0.8092 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.186e-05/0.1471, allocations: 27.98 kB / 0.8092 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003541/0.1474, allocations: 443 kB / 0.8097 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.1474, allocations: 0 / 0.8097 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006434/0.1481, allocations: 331.1 kB / 0.81 GB, free: 9.527 MB / 0.6511 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.00116/0.1492, allocations: 0.6567 MB / 0.8106 GB, free: 9.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0012/0.1504, allocations: 0.7885 MB / 0.8114 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1505, allocations: 0 / 0.8114 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005015/0.151, allocations: 492.1 kB / 0.8119 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000664/0.1516, allocations: 287.3 kB / 0.8121 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.1537, allocations: 1.725 MB / 0.8138 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.1539, allocations: 439.6 kB / 0.8142 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.1541, allocations: 120.4 kB / 0.8144 GB, free: 5.188 MB / 0.6511 GB Notification: Performance of SimCode: time 7.92e-07/0.1541, allocations: 0 / 0.8144 GB, free: 5.188 MB / 0.6511 GB Notification: Performance of Templates: time 0.01755/0.1717, allocations: 18.87 MB / 0.8328 GB, free: 2.363 MB / 0.6667 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.646694893017411] Failed to read output from testmodel.py, exit status != 0: 0.1770725240930915 0.186534901 0.061474761 Calling exit ...