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.001273/0.001273, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001475/0.001475, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.374/1.374, allocations: 230.6 MB / 256 MB, free: 8.004 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.00247/0.00247, allocations: 286.2 kB / 312.7 MB, free: 2.926 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.163/1.163, allocations: 180.6 MB / 0.5369 GB, free: 13.12 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.002763/0.002763, allocations: 101.6 kB / 0.7396 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1618, allocations: 95.38 MB / 0.8327 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.00342/0.1652, allocations: 1.751 MB / 0.8344 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000959/0.1661, allocations: 0.5097 MB / 0.8349 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.104e-05/0.1662, allocations: 4 kB / 0.8349 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004724/0.1667, allocations: 147.7 kB / 0.8351 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.944e-05/0.1667, allocations: 67.61 kB / 0.8351 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.167, allocations: 67.78 kB / 0.8352 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000188/0.1672, allocations: 95.5 kB / 0.8353 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.1673, allocations: 7.938 kB / 0.8353 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.952e-05/0.1673, allocations: 39.84 kB / 0.8353 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.1674, allocations: 59.69 kB / 0.8354 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.1674, allocations: 4 kB / 0.8354 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.1676, allocations: 91.83 kB / 0.8355 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.005e-05/0.1677, allocations: 55.8 kB / 0.8355 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.1678, allocations: 67.55 kB / 0.8356 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.1681, allocations: 191.2 kB / 0.8358 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1681, allocations: 0 / 0.8358 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1681, allocations: 0 / 0.8358 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1681, allocations: 0 / 0.8358 GB, free: 5.52 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.0006201/0.1687, allocations: 417 kB / 0.8362 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1687, allocations: 9.938 kB / 0.8362 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.033e-05/0.1688, allocations: 38.69 kB / 0.8362 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.1688, allocations: 20.8 kB / 0.8362 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.169, allocations: 157.7 kB / 0.8364 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.169, allocations: 4.375 kB / 0.8364 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.169, allocations: 384 / 0.8364 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.1692, allocations: 61.98 kB / 0.8365 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1693, allocations: 0 / 0.8365 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.1693, allocations: 8 kB / 0.8365 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1693, allocations: 0 / 0.8365 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.1695, allocations: 55.95 kB / 0.8365 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/0.17, allocations: 303.9 kB / 0.8368 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.1701, allocations: 66.53 kB / 0.8369 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.85e-05/0.1702, allocations: 36.91 kB / 0.8369 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.7e-05/0.1703, allocations: 15.92 kB / 0.8369 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.1703, allocations: 30.56 kB / 0.837 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.1703, allocations: 0 / 0.837 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003807/0.1707, allocations: 141.5 kB / 0.8371 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.1707, allocations: 55.41 kB / 0.8371 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.171, allocations: 253.9 kB / 0.8374 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.171, allocations: 25.7 kB / 0.8374 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.663e-05/0.1711, allocations: 132.1 kB / 0.8375 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.1711, allocations: 7.891 kB / 0.8375 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.1712, allocations: 17.7 kB / 0.8376 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.1713, allocations: 330.8 kB / 0.8379 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.999e-05/0.1714, allocations: 32 kB / 0.8379 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.034e-05/0.1715, allocations: 31.92 kB / 0.8379 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.1717, allocations: 64.75 kB / 0.838 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1717, allocations: 0 / 0.838 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002291/0.1719, allocations: 121.5 kB / 0.8381 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1719, allocations: 4 kB / 0.8381 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1719, allocations: 4 kB / 0.8381 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1719, allocations: 0 / 0.8381 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.613e-05/0.172, allocations: 7.984 kB / 0.8381 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.172, allocations: 0 / 0.8381 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.049e-05/0.1721, allocations: 4 kB / 0.8381 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1721, allocations: 7.984 kB / 0.8381 GB, free: 2.91 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.0001588/0.1723, allocations: 138.5 kB / 0.8383 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.1723, allocations: 15.91 kB / 0.8383 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.1726, allocations: 114.5 kB / 0.8384 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1726, allocations: 4 kB / 0.8384 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1726, allocations: 0 / 0.8384 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1726, allocations: 0 / 0.8384 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.1728, allocations: 200.6 kB / 0.8386 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1728, allocations: 3.984 kB / 0.8386 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.222e-05/0.1728, allocations: 12.03 kB / 0.8386 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1728, allocations: 0 / 0.8386 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.1729, allocations: 0 / 0.8386 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1729, allocations: 0 / 0.8386 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1729, allocations: 0 / 0.8386 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.1731, allocations: 211.2 kB / 0.8388 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.1731, allocations: 23.89 kB / 0.8388 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.1732, allocations: 0 / 0.8388 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.99e-05/0.1733, allocations: 7.984 kB / 0.8388 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.1733, allocations: 3.938 kB / 0.8388 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.1733, allocations: 0 / 0.8388 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001632/0.1735, allocations: 193.2 kB / 0.839 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1735, allocations: 0 / 0.839 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002651/0.1737, allocations: 31.94 kB / 0.8391 GB, free: 1.895 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.0006314/0.1744, allocations: 0.7669 MB / 0.8398 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.1746, allocations: 67.89 kB / 0.8399 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1746, allocations: 4.094 kB / 0.8399 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.757e-05/0.1747, allocations: 27.98 kB / 0.8399 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.1751, allocations: 48.33 kB / 0.8399 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007393/0.1759, allocations: 412.1 kB / 0.8403 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.1762, allocations: 0.7275 MB / 0.841 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.632e-05/0.1763, allocations: 11.92 kB / 0.8411 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.1763, allocations: 51.42 kB / 0.8411 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.1763, allocations: 4 kB / 0.8411 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03017/0.2065, allocations: 4.085 MB / 0.8451 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/10.35, allocations: 3.5 kB / 0.8451 GB, free: 11.79 MB / 0.5919 GB " [Timeout remaining time 650] (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: 14.343392987000698] Failed to read output from testmodel.py, exit status != 0: 10.455812255000637 10.480781722 10.308161137 Calling exit ...