Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.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.001712/0.001712, 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.002248/0.002248, allocations: 213.6 kB / 22.25 MB, free: 5.258 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.77 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.002591/0.002591, allocations: 282.7 kB / 312.7 MB, free: 2.582 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.377/1.377, allocations: 180.6 MB / 0.5369 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 178] 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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") [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.002995/0.002995, allocations: 109.5 kB / 0.74 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1668, allocations: 95.37 MB / 0.8331 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008123/0.1749, allocations: 5.085 MB / 0.8381 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1789/0.3538, allocations: 133 MB / 0.9679 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009894/0.3548, allocations: 35.69 kB / 0.9679 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.3559, allocations: 381.3 kB / 0.9683 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002138/0.358, allocations: 0.5868 MB / 0.9689 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.3603, allocations: 0.907 MB / 0.9698 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002056/0.3623, allocations: 1.57 MB / 0.9713 GB, free: 9.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.3634, allocations: 491 kB / 0.9718 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000924/0.3643, allocations: 0.5683 MB / 0.9723 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008698/0.3652, allocations: 0.5245 MB / 0.9728 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002811/0.3654, allocations: 136 kB / 0.973 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.3665, allocations: 0.4957 MB / 0.9735 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003915/0.3669, allocations: 342.8 kB / 0.9738 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007116/0.3676, allocations: 0.5285 MB / 0.9743 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002647/0.3703, allocations: 1.98 MB / 0.9762 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3703, allocations: 0 / 0.9762 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3703, allocations: 3.938 kB / 0.9762 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.874e-05/0.3703, allocations: 0 / 0.9762 GB, free: 4.664 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.00321/0.3735, allocations: 1.679 MB / 0.9779 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.3736, allocations: 13.88 kB / 0.9779 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/0.375, allocations: 263.8 kB / 0.9781 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.3766, allocations: 0.8426 MB / 0.979 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.054e-05/0.3767, allocations: 78 kB / 0.979 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.3768, allocations: 96 kB / 0.9791 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.3787, allocations: 1.29 MB / 0.9804 GB, free: 256 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.3788, allocations: 0 / 0.9804 GB, free: 256 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.23e-05/0.3789, allocations: 44 kB / 0.9804 GB, free: 212 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.3789, allocations: 24 kB / 0.9805 GB, free: 188 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3451/0.724, allocations: 1.115 MB / 0.9815 GB, free: 149.9 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.004271/0.7282, allocations: 2.352 MB / 0.9838 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.7295, allocations: 0.7399 MB / 0.9846 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000481/0.73, allocations: 277.1 kB / 0.9848 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.641e-05/0.7301, allocations: 27.16 kB / 0.9848 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008649/0.731, allocations: 0.5867 MB / 0.9854 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=78): time 2.525e-06/0.731, allocations: 2.75 kB / 0.9854 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=78): time 0.002962/0.7339, allocations: 1.135 MB / 0.9865 GB, free: 148 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.734, allocations: 190.7 kB / 0.9867 GB, free: 147.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007581/0.7347, allocations: 0.7501 MB / 0.9874 GB, free: 147.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/0.7348, allocations: 41.55 kB / 0.9875 GB, free: 147.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.7351, allocations: 0.5231 MB / 0.988 GB, free: 147 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.7352, allocations: 264.6 kB / 0.9882 GB, free: 146.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.7354, allocations: 162.4 kB / 0.9884 GB, free: 146.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.607e-05/0.7354, allocations: 338.2 kB / 0.9887 GB, free: 146.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004471/0.7359, allocations: 268.4 kB / 0.989 GB, free: 146.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005692/0.7365, allocations: 487.1 kB / 0.9894 GB, free: 146.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009345/0.7374, allocations: 0.6026 MB / 0.99 GB, free: 145.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.7374, allocations: 0 / 0.99 GB, free: 145.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001681/0.7391, allocations: 0.8678 MB / 0.9909 GB, free: 145.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.7391, allocations: 5.594 kB / 0.9909 GB, free: 145.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.7391, allocations: 2.344 kB / 0.9909 GB, free: 145.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005546/0.7397, allocations: 81.72 kB / 0.991 GB, free: 145.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005846/0.7402, allocations: 155.6 kB / 0.9911 GB, free: 145.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.7418, allocations: 1.521 MB / 0.9926 GB, free: 144 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006464/0.7425, allocations: 84.42 kB / 0.9927 GB, free: 144 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-05/0.7426, allocations: 40.17 kB / 0.9927 GB, free: 144 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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.0003638/0.7429, allocations: 296.4 kB / 0.993 GB, free: 143.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.7431, allocations: 102.7 kB / 0.9931 GB, free: 143.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.7454, allocations: 1.069 MB / 0.9941 GB, free: 143.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.7454, allocations: 10.16 kB / 0.9942 GB, free: 143.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.7454, allocations: 0.875 kB / 0.9942 GB, free: 143.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.7454, allocations: 4.594 kB / 0.9942 GB, free: 143.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000873/0.7463, allocations: 0.7229 MB / 0.9949 GB, free: 143 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.7463, allocations: 0.5625 kB / 0.9949 GB, free: 143 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000582/0.7469, allocations: 140.1 kB / 0.995 GB, free: 143 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004275/0.7473, allocations: 74.44 kB / 0.9951 GB, free: 142.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.307e-05/0.7473, allocations: 26.36 kB / 0.9951 GB, free: 142.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/0.7489, allocations: 1.555 MB / 0.9966 GB, free: 141.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.7489, allocations: 0 / 0.9966 GB, free: 141.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.751, allocations: 0.9442 MB / 0.9975 GB, free: 141.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004308/0.7514, allocations: 208 kB / 0.9977 GB, free: 141 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.7515, allocations: 22.88 kB / 0.9978 GB, free: 141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006193/0.7521, allocations: 66.14 kB / 0.9978 GB, free: 141 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.7523, allocations: 78.33 kB / 0.9979 GB, free: 141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-05/0.7524, allocations: 31.7 kB / 0.9979 GB, free: 141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007419/0.7531, allocations: 0.5246 MB / 0.9984 GB, free: 140.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7531, allocations: 0.5312 kB / 0.9984 GB, free: 140.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009248/0.754, allocations: 359.2 kB / 0.9988 GB, free: 140.7 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.002059/0.7561, allocations: 0.6429 MB / 0.9994 GB, free: 140.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001532/0.7576, allocations: 0.7998 MB / 1 GB, free: 140.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7576, allocations: 1.094 kB / 1 GB, free: 140.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008342/0.7584, allocations: 491.5 kB / 1.001 GB, free: 139.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.7599, allocations: 460.7 kB / 1.001 GB, free: 139.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.7628, allocations: 1.984 MB / 1.003 GB, free: 138.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.7633, allocations: 0.5142 MB / 1.004 GB, free: 138.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007759/0.7641, allocations: 280.6 kB / 1.004 GB, free: 138.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.7643, allocations: 110.2 kB / 1.004 GB, free: 138.5 MB / 0.7169 GB Notification: Performance of SimCode: time 1.052e-06/0.7643, allocations: 3.938 kB / 1.004 GB, free: 138.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.02426/0.7886, allocations: 18.95 MB / 1.022 GB, free: 122 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.479711642488837] Failed to read output from testmodel.py, exit status != 0: 0.7951494306325912 0.80448645 0.43199847499999994 Calling exit ...