Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.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.001415/0.001415, allocations: 102.1 kB / 16.45 MB, free: 6.504 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.001341/0.001341, allocations: 216.9 kB / 19.43 MB, free: 3.656 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.395/1.395, 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.002428/0.002428, allocations: 279.3 kB / 309.1 MB, free: 3.98 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.187/1.187, allocations: 180.9 MB / 0.5333 GB, free: 13.76 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.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",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.002743/0.002743, allocations: 99.72 kB / 0.7342 GB, free: 28.53 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.164, allocations: 95.34 MB / 0.8273 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002862/0.1669, allocations: 1.753 MB / 0.829 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.1683, allocations: 1.028 MB / 0.83 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.1684, allocations: 0 / 0.83 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003839/0.1688, allocations: 143.7 kB / 0.8302 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.968e-05/0.1688, allocations: 59.67 kB / 0.8302 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.1691, allocations: 107.6 kB / 0.8303 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000143/0.1693, allocations: 103.5 kB / 0.8304 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.1693, allocations: 11.92 kB / 0.8305 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.272e-05/0.1694, allocations: 43.78 kB / 0.8305 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.696e-05/0.1695, allocations: 51.7 kB / 0.8305 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.1695, allocations: 4 kB / 0.8305 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002675/0.1698, allocations: 151.8 kB / 0.8307 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.864e-05/0.1698, allocations: 59.8 kB / 0.8308 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.4e-05/0.1699, allocations: 63.55 kB / 0.8308 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.1702, allocations: 247 kB / 0.831 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.1702, allocations: 0 / 0.831 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1702, allocations: 0 / 0.831 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.1702, allocations: 0 / 0.831 GB, free: 6.062 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.0006258/0.1709, allocations: 0.4902 MB / 0.8315 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.1709, allocations: 8.031 kB / 0.8315 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.1709, allocations: 34.73 kB / 0.8316 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.171, allocations: 24.8 kB / 0.8316 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.1711, allocations: 219.8 kB / 0.8318 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1712, allocations: 12.31 kB / 0.8318 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.1712, allocations: 4.359 kB / 0.8318 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.1714, allocations: 61.61 kB / 0.8319 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.1714, allocations: 0 / 0.8319 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1714, allocations: 4 kB / 0.8319 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1714, allocations: 4 kB / 0.8319 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.1716, allocations: 51.95 kB / 0.8319 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.1721, allocations: 336.8 kB / 0.8323 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.1722, allocations: 66.48 kB / 0.8323 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.1723, allocations: 32.91 kB / 0.8323 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.628e-05/0.1724, allocations: 15.94 kB / 0.8324 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.1724, allocations: 34.56 kB / 0.8324 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1724, allocations: 0 / 0.8324 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004311/0.1728, allocations: 133.5 kB / 0.8325 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.1729, allocations: 59.34 kB / 0.8326 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.1732, allocations: 254.7 kB / 0.8328 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1732, allocations: 25.83 kB / 0.8328 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1733, allocations: 148.1 kB / 0.833 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.1733, allocations: 3.953 kB / 0.833 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.1733, allocations: 17.72 kB / 0.833 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1735, allocations: 330.8 kB / 0.8333 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.1736, allocations: 31.97 kB / 0.8334 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-05/0.1737, allocations: 27.97 kB / 0.8334 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.1739, allocations: 68.88 kB / 0.8334 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1739, allocations: 0 / 0.8334 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002435/0.1741, allocations: 105.5 kB / 0.8335 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.1742, allocations: 4 kB / 0.8336 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1742, allocations: 3.938 kB / 0.8336 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1742, allocations: 0 / 0.8336 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.413e-05/0.1743, allocations: 16.02 kB / 0.8336 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1743, allocations: 0 / 0.8336 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.006e-05/0.1744, allocations: 11.92 kB / 0.8336 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.1744, allocations: 0 / 0.8336 GB, free: 3.23 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.0001149/0.1745, allocations: 137.8 kB / 0.8337 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.1745, allocations: 23.84 kB / 0.8337 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.1748, allocations: 118.4 kB / 0.8338 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1748, allocations: 4 kB / 0.8339 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1748, allocations: 0 / 0.8339 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1748, allocations: 0 / 0.8339 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.1751, allocations: 225.5 kB / 0.8341 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1751, allocations: 0 / 0.8341 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.946e-05/0.1751, allocations: 19.86 kB / 0.8341 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1751, allocations: 0 / 0.8341 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.1751, allocations: 0 / 0.8341 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1751, allocations: 0 / 0.8341 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1751, allocations: 4.031 kB / 0.8341 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.1754, allocations: 207.3 kB / 0.8343 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/0.1755, allocations: 93.02 kB / 0.8344 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1755, allocations: 0 / 0.8344 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.489e-05/0.1756, allocations: 7.984 kB / 0.8344 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.1756, allocations: 32 / 0.8344 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.1756, allocations: 4 kB / 0.8344 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001713/0.1758, allocations: 193.9 kB / 0.8346 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1758, allocations: 0 / 0.8346 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000318/0.1761, allocations: 51.88 kB / 0.8346 GB, free: 2.066 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.0007194/0.1768, allocations: 0.7901 MB / 0.8354 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.1771, allocations: 59.95 kB / 0.8355 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1771, allocations: 0 / 0.8355 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.1772, allocations: 39.91 kB / 0.8355 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.1776, allocations: 41.64 kB / 0.8355 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007855/0.1784, allocations: 419.5 kB / 0.8359 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.1788, allocations: 0.7353 MB / 0.8366 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.001e-05/0.1788, allocations: 7.984 kB / 0.8367 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.104e-05/0.1789, allocations: 51.42 kB / 0.8367 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.1789, allocations: 0 / 0.8367 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.2057, allocations: 4.164 MB / 0.8408 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.945/8.151, allocations: 8.047 kB / 0.8408 GB, free: 11.86 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi_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_wDerPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.148920182604343] Failed to read output from testmodel.py, exit status != 0: 8.230140099767596 8.252369438 8.07804587 Calling exit ...