Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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.001292/0.001292, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001598/0.001598, allocations: 215.5 kB / 22.26 MB, free: 5.082 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.424/1.424, allocations: 230.6 MB / 256 MB, free: 8.047 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.002556/0.002556, allocations: 272.7 kB / 312.7 MB, free: 2.832 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.275/1.275, allocations: 180.6 MB / 0.5369 GB, free: 12.98 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: "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor",fmuType="me",version="2.0",platforms={"static"}) [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.002965/0.002965, allocations: 95.3 kB / 0.7396 GB, free: 28.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1662, allocations: 95.38 MB / 0.8327 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.00326/0.1695, allocations: 1.756 MB / 0.8344 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008775/0.1703, allocations: 0.5097 MB / 0.8349 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.211e-05/0.1704, allocations: 7.938 kB / 0.8349 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004372/0.1708, allocations: 143.8 kB / 0.8351 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.1709, allocations: 63.67 kB / 0.8351 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.1712, allocations: 67.77 kB / 0.8352 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.1714, allocations: 95.56 kB / 0.8353 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.1715, allocations: 7.938 kB / 0.8353 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.806e-05/0.1715, allocations: 43.78 kB / 0.8353 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.1717, allocations: 55.69 kB / 0.8354 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.1717, allocations: 4 kB / 0.8354 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.1719, allocations: 91.89 kB / 0.8355 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.263e-05/0.172, allocations: 59.73 kB / 0.8355 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.678e-05/0.1721, allocations: 63.56 kB / 0.8356 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.1724, allocations: 191.2 kB / 0.8358 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1724, allocations: 0 / 0.8358 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1724, allocations: 0 / 0.8358 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.1724, allocations: 0 / 0.8358 GB, free: 5.508 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006328/0.173, allocations: 413 kB / 0.8362 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1731, allocations: 9.344 kB / 0.8362 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.1731, allocations: 38.75 kB / 0.8362 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.1732, allocations: 20.8 kB / 0.8362 GB, free: 5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.1733, allocations: 161.6 kB / 0.8364 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.1733, allocations: 384 / 0.8364 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.1733, allocations: 4.375 kB / 0.8364 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.1735, allocations: 69.92 kB / 0.8365 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1735, allocations: 0 / 0.8365 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.1736, allocations: 0 / 0.8365 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1736, allocations: 4 kB / 0.8365 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.1738, allocations: 59.95 kB / 0.8365 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005029/0.1743, allocations: 299.9 kB / 0.8368 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.1744, allocations: 74.41 kB / 0.8369 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.1745, allocations: 36.91 kB / 0.8369 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.273e-05/0.1746, allocations: 11.98 kB / 0.8369 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.1746, allocations: 34.56 kB / 0.837 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.1746, allocations: 0 / 0.837 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004026/0.175, allocations: 133.5 kB / 0.8371 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.175, allocations: 55.53 kB / 0.8371 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.1753, allocations: 253.9 kB / 0.8374 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1753, allocations: 29.7 kB / 0.8374 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.531e-05/0.1754, allocations: 132.1 kB / 0.8375 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.1754, allocations: 7.891 kB / 0.8375 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.1755, allocations: 17.7 kB / 0.8376 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1756, allocations: 330.8 kB / 0.8379 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.1757, allocations: 31.97 kB / 0.8379 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.495e-05/0.1758, allocations: 31.98 kB / 0.8379 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.176, allocations: 64.75 kB / 0.838 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.176, allocations: 0 / 0.838 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002429/0.1762, allocations: 109.5 kB / 0.8381 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1762, allocations: 8.094 kB / 0.8381 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1762, allocations: 0 / 0.8381 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1763, allocations: 4 kB / 0.8381 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.557e-05/0.1764, allocations: 7.984 kB / 0.8381 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1764, allocations: 3.938 kB / 0.8381 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.496e-05/0.1764, allocations: 4 kB / 0.8381 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.1764, allocations: 3.984 kB / 0.8381 GB, free: 2.898 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 0.0001187/0.1766, allocations: 138.4 kB / 0.8383 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.1766, allocations: 19.91 kB / 0.8383 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.1769, allocations: 114.6 kB / 0.8384 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1769, allocations: 4 kB / 0.8384 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1769, allocations: 0 / 0.8384 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1769, allocations: 0 / 0.8384 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.1771, allocations: 192.6 kB / 0.8386 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1771, allocations: 0 / 0.8386 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.665e-05/0.1772, allocations: 4 kB / 0.8386 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.1772, allocations: 8.031 kB / 0.8386 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1772, allocations: 0 / 0.8386 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.1772, allocations: 3.938 kB / 0.8386 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1772, allocations: 3.938 kB / 0.8386 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.1775, allocations: 203.3 kB / 0.8388 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.1775, allocations: 19.84 kB / 0.8388 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.1775, allocations: 16.03 kB / 0.8388 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.703e-05/0.1776, allocations: 11.92 kB / 0.8388 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.1777, allocations: 0 / 0.8388 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1777, allocations: 0 / 0.8388 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001778/0.1778, allocations: 193.2 kB / 0.839 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1778, allocations: 0 / 0.839 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002778/0.1781, allocations: 31.94 kB / 0.8391 GB, free: 1.879 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0007071/0.1788, allocations: 0.7707 MB / 0.8398 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.1791, allocations: 63.95 kB / 0.8399 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1791, allocations: 0 / 0.8399 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.967e-05/0.1792, allocations: 32.08 kB / 0.8399 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.1797, allocations: 44.39 kB / 0.8399 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008322/0.1805, allocations: 416 kB / 0.8403 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.1809, allocations: 0.7314 MB / 0.8411 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.279e-05/0.1809, allocations: 4 kB / 0.8411 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.899e-05/0.181, allocations: 47.42 kB / 0.8411 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.181, allocations: 0 / 0.8411 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03432/0.2153, allocations: 4.091 MB / 0.8451 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.28, allocations: 8.562 kB / 0.8451 GB, free: 11.77 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor_fmu --startTime=0 --stopTime=1.1 --stepSize=0.00044 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.434828171040863] Failed to read output from testmodel.py, exit status != 0: 11.39096424402669 11.417949345 11.240795037 Calling exit ...