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.001333/0.001333, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001808/0.001808, allocations: 209.9 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.427/1.427, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.002407/0.002407, allocations: 280.4 kB / 312.7 MB, free: 2.617 MB / 238.1 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 1.235/1.235, allocations: 180.6 MB / 0.5369 GB, free: 14.51 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 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002859/0.002859, allocations: 105.7 kB / 0.74 GB, free: 27.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1594, allocations: 95.38 MB / 0.8331 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006413/0.1658, allocations: 4.49 MB / 0.8375 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1595/0.3253, allocations: 132.7 MB / 0.967 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006763/0.326, allocations: 23.81 kB / 0.9671 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005635/0.3266, allocations: 198.2 kB / 0.9673 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.3281, allocations: 0.5715 MB / 0.9678 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.33, allocations: 0.8546 MB / 0.9687 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001367/0.3314, allocations: 1.389 MB / 0.97 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006477/0.332, allocations: 401.9 kB / 0.9704 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005942/0.3326, allocations: 0.4944 MB / 0.9709 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005577/0.3332, allocations: 465.7 kB / 0.9713 GB, free: 9.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.3333, allocations: 116 kB / 0.9714 GB, free: 9.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008263/0.3342, allocations: 495.6 kB / 0.9719 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002734/0.3344, allocations: 299 kB / 0.9722 GB, free: 8.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004245/0.3348, allocations: 457.8 kB / 0.9726 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.3366, allocations: 1.685 MB / 0.9743 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3366, allocations: 0 / 0.9743 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3366, allocations: 0 / 0.9743 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.626e-05/0.3367, allocations: 0 / 0.9743 GB, free: 6.723 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002343/0.339, allocations: 1.411 MB / 0.9756 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.339, allocations: 13.94 kB / 0.9757 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.3404, allocations: 232 kB / 0.9759 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.3416, allocations: 0.7066 MB / 0.9766 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.022e-05/0.3417, allocations: 58 kB / 0.9766 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.3418, allocations: 83.94 kB / 0.9767 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.3434, allocations: 1.166 MB / 0.9778 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.3434, allocations: 4 kB / 0.9778 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.73e-05/0.3435, allocations: 32 kB / 0.9779 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.3435, allocations: 20 kB / 0.9779 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.3453, allocations: 1.054 MB / 0.9789 GB, free: 1.777 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.3568/0.7021, allocations: 2.151 MB / 0.981 GB, free: 149 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.7036, allocations: 0.7307 MB / 0.9817 GB, free: 149 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005046/0.7041, allocations: 269.5 kB / 0.982 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.441e-05/0.7042, allocations: 24.09 kB / 0.982 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000932/0.7051, allocations: 0.5794 MB / 0.9826 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=78): time 3.356e-06/0.7051, allocations: 1.094 kB / 0.9826 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=78): time 0.003051/0.7082, allocations: 1.1 MB / 0.9837 GB, free: 148.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.7082, allocations: 199.2 kB / 0.9839 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007015/0.7089, allocations: 0.61 MB / 0.9844 GB, free: 148.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.616e-05/0.709, allocations: 40.58 kB / 0.9845 GB, free: 148.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.7092, allocations: 419.3 kB / 0.9849 GB, free: 147.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.7094, allocations: 267.5 kB / 0.9851 GB, free: 147.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.7096, allocations: 161.3 kB / 0.9853 GB, free: 147.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.7097, allocations: 387.2 kB / 0.9857 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004771/0.7102, allocations: 261.2 kB / 0.9859 GB, free: 147.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006049/0.7108, allocations: 489.2 kB / 0.9864 GB, free: 146.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009959/0.7118, allocations: 0.6031 MB / 0.987 GB, free: 146.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.7118, allocations: 3.141 kB / 0.987 GB, free: 146.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00169/0.7135, allocations: 0.8504 MB / 0.9878 GB, free: 146.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.7135, allocations: 9.594 kB / 0.9878 GB, free: 146.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.7135, allocations: 3.594 kB / 0.9878 GB, free: 146.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005696/0.7141, allocations: 78.59 kB / 0.9879 GB, free: 146.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005913/0.7147, allocations: 158.7 kB / 0.988 GB, free: 146.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.7164, allocations: 1.505 MB / 0.9895 GB, free: 144.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007014/0.7171, allocations: 86.05 kB / 0.9896 GB, free: 144.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.622e-05/0.7172, allocations: 38.89 kB / 0.9896 GB, free: 144.8 MB / 0.7169 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.0004545/0.7177, allocations: 262.7 kB / 0.9899 GB, free: 144.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.7178, allocations: 90.75 kB / 0.99 GB, free: 144.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.7199, allocations: 1.044 MB / 0.991 GB, free: 144.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.7199, allocations: 8.688 kB / 0.991 GB, free: 144.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.72, allocations: 0 / 0.991 GB, free: 144.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.72, allocations: 7.234 kB / 0.991 GB, free: 144.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007544/0.7207, allocations: 0.6344 MB / 0.9916 GB, free: 143.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.7207, allocations: 0 / 0.9916 GB, free: 143.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004947/0.7212, allocations: 142.3 kB / 0.9918 GB, free: 143.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003886/0.7216, allocations: 72.92 kB / 0.9918 GB, free: 143.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.893e-05/0.7217, allocations: 25.11 kB / 0.9919 GB, free: 143.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/0.7231, allocations: 1.532 MB / 0.9933 GB, free: 142.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7231, allocations: 12 kB / 0.9934 GB, free: 142.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.725, allocations: 0.9072 MB / 0.9942 GB, free: 142 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004048/0.7254, allocations: 198.7 kB / 0.9944 GB, free: 141.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.7255, allocations: 18.73 kB / 0.9945 GB, free: 141.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005605/0.726, allocations: 61.19 kB / 0.9945 GB, free: 141.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.7262, allocations: 70.34 kB / 0.9946 GB, free: 141.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.232e-05/0.7263, allocations: 35.83 kB / 0.9946 GB, free: 141.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006139/0.7269, allocations: 441.5 kB / 0.995 GB, free: 141.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.7269, allocations: 0 / 0.995 GB, free: 141.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009221/0.7278, allocations: 334.7 kB / 0.9954 GB, free: 141.6 MB / 0.7169 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.002014/0.7298, allocations: 0.6414 MB / 0.996 GB, free: 141.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00183/0.7317, allocations: 0.7895 MB / 0.9968 GB, free: 141.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.7317, allocations: 1.219 kB / 0.9968 GB, free: 141.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009808/0.7326, allocations: 489.4 kB / 0.9972 GB, free: 140.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.7338, allocations: 297 kB / 0.9975 GB, free: 140.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/0.737, allocations: 1.698 MB / 0.9992 GB, free: 139.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.7375, allocations: 446.4 kB / 0.9996 GB, free: 139.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008002/0.7383, allocations: 256.4 kB / 0.9998 GB, free: 139.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.7386, allocations: 114.3 kB / 0.9999 GB, free: 139.7 MB / 0.7169 GB Notification: Performance of SimCode: time 9.71e-07/0.7386, allocations: 0 / 0.9999 GB, free: 139.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.02463/0.7632, allocations: 16.19 MB / 1.016 GB, free: 128.4 MB / 0.7169 GB " [Timeout remaining time 659] 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: 7.176595080643892] Failed to read output from testmodel.py, exit status != 0: 0.7702330276370049 0.7794447200000001 0.44065899900000005 Calling exit ...