Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.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.001221/0.001221, allocations: 109.8 kB / 16.46 MB, free: 6.512 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.00133/0.00133, allocations: 208.3 kB / 19.43 MB, free: 3.645 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.393/1.393, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.002599/0.002599, allocations: 287.7 kB / 309.1 MB, free: 3.977 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.21/1.21, allocations: 180.9 MB / 0.5333 GB, free: 13.75 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.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",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.002738/0.002738, allocations: 108 kB / 0.7342 GB, free: 28.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1582, allocations: 95.34 MB / 0.8273 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002785/0.161, allocations: 1.747 MB / 0.829 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007634/0.1618, allocations: 0.5058 MB / 0.8295 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.1618, allocations: 3.938 kB / 0.8295 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.1622, allocations: 143.7 kB / 0.8297 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.874e-05/0.1623, allocations: 55.73 kB / 0.8297 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.1625, allocations: 71.72 kB / 0.8298 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.1627, allocations: 95.56 kB / 0.8299 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.1627, allocations: 7.922 kB / 0.8299 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.194e-05/0.1628, allocations: 35.86 kB / 0.8299 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.1629, allocations: 63.67 kB / 0.83 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.1629, allocations: 0 / 0.83 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.1631, allocations: 91.83 kB / 0.8301 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.572e-05/0.1631, allocations: 51.81 kB / 0.8301 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.034e-05/0.1632, allocations: 71.55 kB / 0.8302 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.1635, allocations: 187.2 kB / 0.8304 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1635, allocations: 0 / 0.8304 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1635, allocations: 0 / 0.8304 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.1635, allocations: 0 / 0.8304 GB, free: 6.773 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.0006358/0.1641, allocations: 498 kB / 0.8308 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1642, allocations: 8.031 kB / 0.8309 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.1642, allocations: 34.75 kB / 0.8309 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.1642, allocations: 20.8 kB / 0.8309 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.1644, allocations: 219.9 kB / 0.8311 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1644, allocations: 4.375 kB / 0.8311 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.363e-06/0.1644, allocations: 384 / 0.8311 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.1646, allocations: 69.97 kB / 0.8312 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.1646, allocations: 0 / 0.8312 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.1646, allocations: 0 / 0.8312 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.1646, allocations: 0 / 0.8312 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.1648, allocations: 63.89 kB / 0.8313 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.1653, allocations: 332.8 kB / 0.8316 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.1655, allocations: 66.48 kB / 0.8316 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.845e-05/0.1656, allocations: 36.83 kB / 0.8317 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.1656, allocations: 11.98 kB / 0.8317 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1656, allocations: 34.56 kB / 0.8317 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1656, allocations: 0 / 0.8317 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004012/0.166, allocations: 145.4 kB / 0.8318 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.1661, allocations: 51.41 kB / 0.8319 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.1663, allocations: 254.7 kB / 0.8321 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1663, allocations: 29.83 kB / 0.8322 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.648e-05/0.1664, allocations: 132.1 kB / 0.8323 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.1665, allocations: 11.89 kB / 0.8323 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.1665, allocations: 13.72 kB / 0.8323 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1666, allocations: 330.8 kB / 0.8326 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-05/0.1667, allocations: 31.97 kB / 0.8327 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.557e-05/0.1668, allocations: 23.98 kB / 0.8327 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.167, allocations: 72.81 kB / 0.8328 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.167, allocations: 0 / 0.8328 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002357/0.1672, allocations: 113.4 kB / 0.8329 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.1673, allocations: 4 kB / 0.8329 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1673, allocations: 0 / 0.8329 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1673, allocations: 0 / 0.8329 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.326e-05/0.1673, allocations: 16.02 kB / 0.8329 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1674, allocations: 0 / 0.8329 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.379e-05/0.1674, allocations: 4 kB / 0.8329 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.1674, allocations: 4 kB / 0.8329 GB, free: 3.957 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.0001224/0.1675, allocations: 144.6 kB / 0.833 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.1676, allocations: 15.91 kB / 0.833 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.1679, allocations: 122.4 kB / 0.8332 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1679, allocations: 0 / 0.8332 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1679, allocations: 0 / 0.8332 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1679, allocations: 0 / 0.8332 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.1681, allocations: 213.6 kB / 0.8334 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1681, allocations: 0 / 0.8334 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.213e-05/0.1682, allocations: 15.98 kB / 0.8334 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1682, allocations: 0 / 0.8334 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.1682, allocations: 0 / 0.8334 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.1682, allocations: 3.938 kB / 0.8334 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1682, allocations: 4.031 kB / 0.8334 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.1685, allocations: 207.3 kB / 0.8336 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.1685, allocations: 96.91 kB / 0.8337 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.1686, allocations: 0 / 0.8337 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.409e-05/0.1687, allocations: 7.984 kB / 0.8337 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.1687, allocations: 8.031 kB / 0.8337 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1687, allocations: 7.938 kB / 0.8337 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001732/0.1689, allocations: 189.9 kB / 0.8339 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1689, allocations: 0 / 0.8339 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002651/0.1691, allocations: 35.94 kB / 0.8339 GB, free: 2.812 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.0006814/0.1698, allocations: 0.763 MB / 0.8347 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.1701, allocations: 67.88 kB / 0.8347 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1701, allocations: 0 / 0.8347 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.756e-05/0.1702, allocations: 27.98 kB / 0.8348 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.1706, allocations: 48.61 kB / 0.8348 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007522/0.1713, allocations: 415.5 kB / 0.8352 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.1717, allocations: 0.7353 MB / 0.8359 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.366e-05/0.1717, allocations: 4 kB / 0.8359 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.918e-05/0.1718, allocations: 47.42 kB / 0.836 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.1718, allocations: 0 / 0.836 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02691/0.1987, allocations: 4.003 MB / 0.8399 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.876/8.075, allocations: 5.109 kB / 0.8399 GB, free: 12.8 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.08 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.11203181417659] Failed to read output from testmodel.py, exit status != 0: 8.144116512034088 8.170794453 8.002859937 Calling exit ...