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.00126/0.00126, allocations: 106.6 kB / 16.45 MB, free: 6.453 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.001365/0.001365, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.407/1.407, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.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.002504/0.002504, allocations: 290.6 kB / 309.1 MB, free: 3.953 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.195/1.195, allocations: 180.9 MB / 0.5333 GB, free: 13.86 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.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.002749/0.002749, allocations: 104.6 kB / 0.7342 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1534, allocations: 95.34 MB / 0.8273 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.002968/0.1563, allocations: 1.744 MB / 0.829 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008529/0.1572, allocations: 0.5058 MB / 0.8295 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.96e-05/0.1572, allocations: 4 kB / 0.8295 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003904/0.1576, allocations: 139.8 kB / 0.8297 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.996e-05/0.1577, allocations: 67.61 kB / 0.8297 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.158, allocations: 59.8 kB / 0.8298 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.1581, allocations: 99.55 kB / 0.8299 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.753e-05/0.1582, allocations: 7.938 kB / 0.8299 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.853e-05/0.1582, allocations: 39.78 kB / 0.8299 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.211e-05/0.1583, allocations: 59.69 kB / 0.83 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.1584, allocations: 4 kB / 0.83 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.1585, allocations: 87.83 kB / 0.8301 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.568e-05/0.1586, allocations: 59.81 kB / 0.8301 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.706e-05/0.1587, allocations: 63.55 kB / 0.8302 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.1589, allocations: 191.2 kB / 0.8304 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1589, allocations: 0 / 0.8304 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1589, allocations: 0 / 0.8304 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.1589, allocations: 4 kB / 0.8304 GB, free: 6.809 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.0006274/0.1596, allocations: 490.1 kB / 0.8308 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1596, allocations: 12.03 kB / 0.8309 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.75e-05/0.1596, allocations: 34.73 kB / 0.8309 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.1597, allocations: 24.8 kB / 0.8309 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.1599, allocations: 219.9 kB / 0.8311 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1599, allocations: 4.375 kB / 0.8311 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.1599, allocations: 384 / 0.8311 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.1601, allocations: 65.98 kB / 0.8312 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1601, allocations: 0 / 0.8312 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.1601, allocations: 0 / 0.8312 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1601, allocations: 0 / 0.8312 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.1603, allocations: 59.95 kB / 0.8312 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.1608, allocations: 328.8 kB / 0.8316 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.161, allocations: 66.47 kB / 0.8316 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.1611, allocations: 36.91 kB / 0.8317 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/0.1611, allocations: 19.92 kB / 0.8317 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.1611, allocations: 30.56 kB / 0.8317 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.1611, allocations: 0 / 0.8317 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004381/0.1616, allocations: 133.5 kB / 0.8318 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.1616, allocations: 59.34 kB / 0.8319 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.1619, allocations: 258.8 kB / 0.8321 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1619, allocations: 25.7 kB / 0.8322 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.336e-05/0.162, allocations: 132.1 kB / 0.8323 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.162, allocations: 7.891 kB / 0.8323 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.162, allocations: 17.7 kB / 0.8323 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1622, allocations: 330.8 kB / 0.8326 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.1623, allocations: 27.97 kB / 0.8327 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.351e-05/0.1624, allocations: 31.98 kB / 0.8327 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.1626, allocations: 64.75 kB / 0.8327 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1626, allocations: 0 / 0.8327 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002481/0.1628, allocations: 113.4 kB / 0.8329 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1628, allocations: 4 kB / 0.8329 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1628, allocations: 4 kB / 0.8329 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1629, allocations: 4.094 kB / 0.8329 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.909e-05/0.1629, allocations: 11.98 kB / 0.8329 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1629, allocations: 0 / 0.8329 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/0.163, allocations: 4 kB / 0.8329 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.163, allocations: 7.984 kB / 0.8329 GB, free: 4 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.0001062/0.1631, allocations: 133.8 kB / 0.833 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.1632, allocations: 15.91 kB / 0.833 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.1634, allocations: 114.5 kB / 0.8331 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1634, allocations: 4 kB / 0.8331 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1634, allocations: 7.938 kB / 0.8332 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1634, allocations: 0 / 0.8332 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.1638, allocations: 225.5 kB / 0.8334 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1638, allocations: 0 / 0.8334 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.705e-05/0.1638, allocations: 7.938 kB / 0.8334 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1638, allocations: 4 kB / 0.8334 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.1638, allocations: 0 / 0.8334 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1638, allocations: 4.031 kB / 0.8334 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.1638, allocations: 3.984 kB / 0.8334 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.1641, allocations: 207.3 kB / 0.8336 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/0.1642, allocations: 92.97 kB / 0.8337 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.1642, allocations: 4 kB / 0.8337 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.445e-05/0.1643, allocations: 8.016 kB / 0.8337 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.1643, allocations: 4 kB / 0.8337 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.1643, allocations: 0 / 0.8337 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001792/0.1645, allocations: 189.9 kB / 0.8339 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1645, allocations: 0 / 0.8339 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002684/0.1648, allocations: 35.94 kB / 0.8339 GB, free: 2.863 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.0007006/0.1655, allocations: 0.7785 MB / 0.8347 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.1657, allocations: 59.95 kB / 0.8347 GB, free: 2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1657, allocations: 0 / 0.8347 GB, free: 2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.1658, allocations: 36.02 kB / 0.8348 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.1663, allocations: 48.34 kB / 0.8348 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007422/0.167, allocations: 403.6 kB / 0.8352 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.1674, allocations: 0.7353 MB / 0.8359 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.668e-05/0.1675, allocations: 4 kB / 0.8359 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.306e-05/0.1675, allocations: 47.42 kB / 0.836 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/0.1675, allocations: 0 / 0.836 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.1951, allocations: 4.007 MB / 0.8399 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/8.192, allocations: 6.375 kB / 0.8399 GB, free: 12.85 MB / 0.5919 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 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: 12.227337894029915] Failed to read output from testmodel.py, exit status != 0: 8.260093141812831 8.275122825 8.113404089 Calling exit ...