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.00153/0.00153, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001459/0.001459, allocations: 220 kB / 22.24 MB, free: 5.109 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 7.816 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.00261/0.00261, allocations: 287.4 kB / 312.7 MB, free: 2.617 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.203/1.203, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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.002955/0.002955, allocations: 108.8 kB / 0.7395 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1545, allocations: 95.39 MB / 0.8326 GB, free: 8.332 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.003169/0.1577, allocations: 1.714 MB / 0.8343 GB, free: 6.602 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0008031/0.1585, allocations: 454.1 kB / 0.8347 GB, free: 6.156 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.283e-05/0.1586, allocations: 4 kB / 0.8347 GB, free: 6.152 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0004187/0.159, allocations: 127.8 kB / 0.8349 GB, free: 6.027 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 8.536e-05/0.1591, allocations: 55.69 kB / 0.8349 GB, free: 5.973 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.1593, allocations: 67.78 kB / 0.835 GB, free: 5.906 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.1594, allocations: 103.5 kB / 0.8351 GB, free: 5.805 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.1595, allocations: 11.92 kB / 0.8351 GB, free: 5.793 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 6.542e-05/0.1595, allocations: 35.84 kB / 0.8351 GB, free: 5.758 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 9.664e-05/0.1596, allocations: 47.77 kB / 0.8352 GB, free: 5.711 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.1597, allocations: 4 kB / 0.8352 GB, free: 5.707 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.1598, allocations: 75.84 kB / 0.8352 GB, free: 5.633 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.1599, allocations: 59.8 kB / 0.8353 GB, free: 5.574 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 5.673e-05/0.16, allocations: 43.69 kB / 0.8353 GB, free: 5.531 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.1603, allocations: 199.1 kB / 0.8355 GB, free: 5.336 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1603, allocations: 0 / 0.8355 GB, free: 5.336 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1603, allocations: 4 kB / 0.8355 GB, free: 5.332 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.1603, allocations: 0 / 0.8355 GB, free: 5.332 MB / 0.5763 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.0005948/0.1609, allocations: 416.9 kB / 0.8359 GB, free: 4.895 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1609, allocations: 13.34 kB / 0.8359 GB, free: 4.883 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.981e-05/0.161, allocations: 30.75 kB / 0.836 GB, free: 4.844 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.161, allocations: 20.8 kB / 0.836 GB, free: 4.824 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.1611, allocations: 161.7 kB / 0.8362 GB, free: 4.645 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1612, allocations: 384 / 0.8362 GB, free: 4.645 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.1612, allocations: 4.375 kB / 0.8362 GB, free: 4.641 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.1614, allocations: 77.95 kB / 0.8362 GB, free: 4.559 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.1614, allocations: 0 / 0.8362 GB, free: 4.559 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.1614, allocations: 0 / 0.8362 GB, free: 4.559 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1614, allocations: 0 / 0.8362 GB, free: 4.559 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.1616, allocations: 59.89 kB / 0.8363 GB, free: 4.5 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.162, allocations: 295.9 kB / 0.8366 GB, free: 4.168 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.1622, allocations: 58.55 kB / 0.8366 GB, free: 4.102 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.614e-05/0.1623, allocations: 40.89 kB / 0.8367 GB, free: 4.059 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 4.036e-05/0.1623, allocations: 12 kB / 0.8367 GB, free: 4.047 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1623, allocations: 34.5 kB / 0.8367 GB, free: 4.004 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1623, allocations: 0 / 0.8367 GB, free: 4.004 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.0003911/0.1627, allocations: 137.5 kB / 0.8368 GB, free: 3.863 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.1628, allocations: 55.39 kB / 0.8369 GB, free: 3.797 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.163, allocations: 254 kB / 0.8371 GB, free: 3.535 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.163, allocations: 29.7 kB / 0.8372 GB, free: 3.5 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 9.462e-05/0.1631, allocations: 136.1 kB / 0.8373 GB, free: 3.363 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.1632, allocations: 11.83 kB / 0.8373 GB, free: 3.352 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.1632, allocations: 13.72 kB / 0.8373 GB, free: 3.332 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.1633, allocations: 330.8 kB / 0.8376 GB, free: 3 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.043e-05/0.1634, allocations: 27.98 kB / 0.8377 GB, free: 2.973 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.381e-05/0.1635, allocations: 27.97 kB / 0.8377 GB, free: 2.945 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.1637, allocations: 76.75 kB / 0.8378 GB, free: 2.867 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1637, allocations: 0 / 0.8378 GB, free: 2.867 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002268/0.1639, allocations: 109.5 kB / 0.8379 GB, free: 2.754 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1639, allocations: 4 kB / 0.8379 GB, free: 2.75 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1639, allocations: 0 / 0.8379 GB, free: 2.75 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.164, allocations: 4 kB / 0.8379 GB, free: 2.746 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.861e-05/0.164, allocations: 7.938 kB / 0.8379 GB, free: 2.738 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.164, allocations: 8.016 kB / 0.8379 GB, free: 2.73 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.28e-05/0.1641, allocations: 4 kB / 0.8379 GB, free: 2.727 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.1641, allocations: 0 / 0.8379 GB, free: 2.727 MB / 0.5763 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.0001121/0.1642, allocations: 142.4 kB / 0.838 GB, free: 2.578 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.1643, allocations: 15.91 kB / 0.838 GB, free: 2.562 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.1645, allocations: 118.5 kB / 0.8382 GB, free: 2.438 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1645, allocations: 4 kB / 0.8382 GB, free: 2.434 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1645, allocations: 0 / 0.8382 GB, free: 2.434 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1645, allocations: 4.031 kB / 0.8382 GB, free: 2.43 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.1648, allocations: 184.7 kB / 0.8383 GB, free: 2.207 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1648, allocations: 3.984 kB / 0.8383 GB, free: 2.203 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.1648, allocations: 8 kB / 0.8384 GB, free: 2.195 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1648, allocations: 0 / 0.8384 GB, free: 2.195 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.1648, allocations: 0 / 0.8384 GB, free: 2.195 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1648, allocations: 0 / 0.8384 GB, free: 2.195 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1648, allocations: 0 / 0.8384 GB, free: 2.195 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.1651, allocations: 215.2 kB / 0.8386 GB, free: 1.969 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.1651, allocations: 19.86 kB / 0.8386 GB, free: 1.949 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.1651, allocations: 0 / 0.8386 GB, free: 1.949 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.546e-05/0.1652, allocations: 11.98 kB / 0.8386 GB, free: 1.938 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.1653, allocations: 0 / 0.8386 GB, free: 1.938 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.1653, allocations: 0 / 0.8386 GB, free: 1.938 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0001698/0.1654, allocations: 193.2 kB / 0.8388 GB, free: 1.75 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1654, allocations: 0 / 0.8388 GB, free: 1.75 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002618/0.1657, allocations: 35.94 kB / 0.8388 GB, free: 1.715 MB / 0.5763 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.0007328/0.1664, allocations: 0.7691 MB / 0.8396 GB, free: 0.9219 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.1667, allocations: 67.88 kB / 0.8396 GB, free: 0.8555 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1667, allocations: 0 / 0.8396 GB, free: 0.8555 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 9.205e-05/0.1668, allocations: 31.92 kB / 0.8397 GB, free: 0.8242 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.1672, allocations: 44.61 kB / 0.8397 GB, free: 0.7812 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008129/0.168, allocations: 400 kB / 0.8401 GB, free: 356 kB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.1682, allocations: 130.7 kB / 0.8402 GB, free: 208 kB / 0.5763 GB Notification: Performance of simCode: alias equations: time 4.065e-05/0.1682, allocations: 11.98 kB / 0.8402 GB, free: 196 kB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/0.1683, allocations: 43.42 kB / 0.8403 GB, free: 152 kB / 0.5763 GB Notification: Performance of SimCode: time 3.51e-07/0.1683, allocations: 0 / 0.8403 GB, free: 152 kB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03167/0.2, allocations: 4.665 MB / 0.8448 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.09, allocations: 6.844 kB / 0.8448 GB, free: 11.68 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 & 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: 15.196904843207449] Failed to read output from testmodel.py, exit status != 0: 11.19456535903737 11.210941375 11.047513419 Calling exit ...