Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.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.001248/0.001248, allocations: 103.7 kB / 16.45 MB, free: 6.445 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.001278/0.001278, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.441/1.441, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.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.00247/0.00247, allocations: 276.2 kB / 302.9 MB, free: 3.605 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.103/1.103, allocations: 180.9 MB / 0.5261 GB, free: 2.762 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: "" <> buildModelFMU(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1DNodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1DNodes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002824/0.002824, allocations: 103.8 kB / 0.7247 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5456/0.5485, allocations: 94.16 MB / 0.8167 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.002626/0.5511, allocations: 1.845 MB / 0.8185 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008773/0.552, allocations: 0.6873 MB / 0.8192 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.482e-05/0.552, allocations: 9.688 kB / 0.8192 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.5522, allocations: 37.34 kB / 0.8192 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.5524, allocations: 68.47 kB / 0.8193 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.5526, allocations: 55.47 kB / 0.8193 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.5529, allocations: 269.8 kB / 0.8196 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.553, allocations: 42.73 kB / 0.8196 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.5531, allocations: 100.1 kB / 0.8197 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.5533, allocations: 113.1 kB / 0.8198 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.559e-05/0.5533, allocations: 18.25 kB / 0.8198 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.65e-05/0.5534, allocations: 17.16 kB / 0.8199 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.339e-05/0.5534, allocations: 68.66 kB / 0.8199 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.961e-05/0.5535, allocations: 96.25 kB / 0.82 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.5538, allocations: 240.4 kB / 0.8202 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5538, allocations: 0 / 0.8202 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5538, allocations: 0 / 0.8202 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.5538, allocations: 3.938 kB / 0.8203 GB, free: 4.926 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007435/0.5545, allocations: 0.5407 MB / 0.8208 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.5546, allocations: 9.5 kB / 0.8208 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.5546, allocations: 49.95 kB / 0.8208 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.5546, allocations: 22.02 kB / 0.8209 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.5549, allocations: 228.4 kB / 0.8211 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.5549, allocations: 14 kB / 0.8211 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.5549, allocations: 14.91 kB / 0.8211 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/0.5553, allocations: 206.6 kB / 0.8213 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5553, allocations: 4.641 kB / 0.8213 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.5553, allocations: 1.562 kB / 0.8213 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.5553, allocations: 2.625 kB / 0.8213 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.5556, allocations: 122.2 kB / 0.8214 GB, free: 4 MB / 0.5762 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.0009866/0.5566, allocations: 1.007 MB / 0.8224 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000684/0.5572, allocations: 212.3 kB / 0.8226 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.5574, allocations: 67.48 kB / 0.8227 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.5574, allocations: 2.156 kB / 0.8227 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.307e-05/0.5574, allocations: 35.08 kB / 0.8227 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.5574, allocations: 0 / 0.8227 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0004455/0.5578, allocations: 238.1 kB / 0.8229 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.675e-05/0.5578, allocations: 51.41 kB / 0.823 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.558, allocations: 222.7 kB / 0.8232 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.558, allocations: 28.64 kB / 0.8232 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/0.5581, allocations: 144.4 kB / 0.8234 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.5581, allocations: 32.98 kB / 0.8234 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.3e-05/0.5582, allocations: 59.11 kB / 0.8235 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.206e-05/0.5583, allocations: 329.3 kB / 0.8238 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.5585, allocations: 157.3 kB / 0.8239 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.5587, allocations: 204.7 kB / 0.8241 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/0.5603, allocations: 0.8949 MB / 0.825 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5603, allocations: 0 / 0.825 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005912/0.5609, allocations: 0.4971 MB / 0.8255 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.642e-05/0.5609, allocations: 61.28 kB / 0.8255 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.5609, allocations: 2.844 kB / 0.8255 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.5609, allocations: 7.031 kB / 0.8255 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.5611, allocations: 51.41 kB / 0.8256 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.5611, allocations: 7.438 kB / 0.8256 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.5613, allocations: 35.33 kB / 0.8256 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.5613, allocations: 11.44 kB / 0.8256 GB, free: 1.301 MB / 0.5762 GB Warning: Assuming fixed start value for the following 5 variables: body.T[1]:VARIABLE(min = 0.0 start = body.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [5] body.T[2]:VARIABLE(min = 0.0 start = body.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [5] body.T[3]:VARIABLE(min = 0.0 start = body.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [5] body.T[4]:VARIABLE(min = 0.0 start = body.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [5] body.T[5]:VARIABLE(min = 0.0 start = body.T_start unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the numerical node\" type: Real [5] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001798/0.5615, allocations: 173.3 kB / 0.8258 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.5616, allocations: 13.03 kB / 0.8258 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.51e-05/0.5616, allocations: 21.67 kB / 0.8258 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.5616, allocations: 2.438 kB / 0.8258 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5616, allocations: 0.6562 kB / 0.8258 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.5616, allocations: 4 kB / 0.8258 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.5618, allocations: 235.2 kB / 0.8261 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5618, allocations: 0 / 0.8261 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.5621, allocations: 41.56 kB / 0.8261 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5621, allocations: 0.75 kB / 0.8261 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.5621, allocations: 5.484 kB / 0.8261 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.5621, allocations: 0.7969 kB / 0.8261 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5621, allocations: 0 / 0.8261 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/0.5625, allocations: 350.1 kB / 0.8264 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.5625, allocations: 92.48 kB / 0.8265 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.5625, allocations: 7.562 kB / 0.8265 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.5627, allocations: 5.094 kB / 0.8265 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.5627, allocations: 5 kB / 0.8266 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.5627, allocations: 2.75 kB / 0.8266 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.584e-05/0.5628, allocations: 151.4 kB / 0.8267 GB, free: 500 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5628, allocations: 0 / 0.8267 GB, free: 500 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002893/0.5631, allocations: 70.48 kB / 0.8268 GB, free: 484 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (body.T[1],body.T[2],body.T[3],body.T[4],body.T[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006222/0.5637, allocations: 0.8824 MB / 0.8276 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005985/0.5643, allocations: 445.4 kB / 0.8281 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5643, allocations: 0 / 0.8281 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.5644, allocations: 68.7 kB / 0.8281 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.5648, allocations: 29.75 kB / 0.8281 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/0.5688, allocations: 3.438 MB / 0.8315 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.5692, allocations: 0.7401 MB / 0.8322 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001091/0.5693, allocations: 37.2 kB / 0.8323 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.845e-05/0.5694, allocations: 54.64 kB / 0.8323 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.5694, allocations: 0 / 0.8323 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03244/0.6019, allocations: 4.591 MB / 0.8368 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.136/8.738, allocations: 17.3 kB / 0.8368 GB, free: 12.07 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1DNodes_fmu --startTime=0 --stopTime=864000 --stepSize=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1DNodes.fmu > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.668929086998105] Failed to read output from testmodel.py, exit status != 0: 8.806736588012427 8.824424684 8.267615317 Calling exit ...