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.001255/0.001255, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001838/0.001838, allocations: 217.7 kB / 22.26 MB, free: 5.082 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.384/1.384, allocations: 230.6 MB / 256 MB, free: 7.992 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.002411/0.002411, allocations: 283.3 kB / 312.7 MB, free: 2.785 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.151/1.151, allocations: 180.6 MB / 0.5369 GB, free: 12.93 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.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.002804/0.002804, allocations: 107.1 kB / 0.7396 GB, free: 28.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1759, allocations: 95.38 MB / 0.8327 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.003375/0.1793, allocations: 1.762 MB / 0.8344 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.181, allocations: 1.044 MB / 0.8355 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.181, allocations: 0 / 0.8355 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004694/0.1815, allocations: 151.7 kB / 0.8356 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.628e-05/0.1816, allocations: 51.67 kB / 0.8357 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.182, allocations: 111.6 kB / 0.8358 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.1821, allocations: 99.5 kB / 0.8359 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.1822, allocations: 7.938 kB / 0.8359 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.376e-05/0.1822, allocations: 39.78 kB / 0.8359 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1824, allocations: 55.75 kB / 0.836 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1824, allocations: 11.94 kB / 0.836 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.1827, allocations: 155.8 kB / 0.8361 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.497e-05/0.1827, allocations: 55.8 kB / 0.8362 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.358e-05/0.1828, allocations: 63.56 kB / 0.8362 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.1831, allocations: 251 kB / 0.8365 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1831, allocations: 0 / 0.8365 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1831, allocations: 0 / 0.8365 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.1832, allocations: 0 / 0.8365 GB, free: 4.781 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.0006008/0.1838, allocations: 420.9 kB / 0.8369 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1838, allocations: 17.28 kB / 0.8369 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.955e-05/0.1838, allocations: 38.75 kB / 0.8369 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.1839, allocations: 20.8 kB / 0.8369 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.184, allocations: 157.7 kB / 0.8371 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.184, allocations: 384 / 0.8371 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.184, allocations: 8.25 kB / 0.8371 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.1842, allocations: 65.61 kB / 0.8372 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1842, allocations: 0 / 0.8372 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1842, allocations: 4 kB / 0.8372 GB, free: 4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1842, allocations: 0 / 0.8372 GB, free: 4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.1844, allocations: 63.94 kB / 0.8372 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.1849, allocations: 299.9 kB / 0.8375 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.185, allocations: 66.47 kB / 0.8376 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.315e-05/0.1851, allocations: 36.91 kB / 0.8376 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.327e-05/0.1852, allocations: 15.94 kB / 0.8376 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.1852, allocations: 34.56 kB / 0.8377 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1852, allocations: 0 / 0.8377 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003858/0.1856, allocations: 133.5 kB / 0.8378 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.1856, allocations: 55.53 kB / 0.8378 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.1859, allocations: 257.8 kB / 0.8381 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.1859, allocations: 29.7 kB / 0.8381 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.926e-05/0.186, allocations: 136.1 kB / 0.8382 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.186, allocations: 3.953 kB / 0.8382 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.186, allocations: 17.72 kB / 0.8383 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1862, allocations: 330.8 kB / 0.8386 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.413e-05/0.1863, allocations: 35.97 kB / 0.8386 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.056e-05/0.1864, allocations: 31.97 kB / 0.8386 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.1865, allocations: 60.81 kB / 0.8387 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1865, allocations: 0 / 0.8387 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002477/0.1868, allocations: 105.6 kB / 0.8388 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1868, allocations: 12 kB / 0.8388 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1868, allocations: 0 / 0.8388 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1868, allocations: 3.938 kB / 0.8388 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.851e-05/0.1869, allocations: 11.98 kB / 0.8388 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1869, allocations: 0 / 0.8388 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.509e-05/0.187, allocations: 11.92 kB / 0.8388 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.187, allocations: 0 / 0.8388 GB, free: 2.152 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.0001161/0.1871, allocations: 138.4 kB / 0.839 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.1871, allocations: 23.86 kB / 0.839 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.1874, allocations: 110.6 kB / 0.8391 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.1874, allocations: 0 / 0.8391 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1874, allocations: 3.938 kB / 0.8391 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1874, allocations: 3.938 kB / 0.8391 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.1876, allocations: 192.6 kB / 0.8393 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1876, allocations: 4 kB / 0.8393 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.737e-05/0.1877, allocations: 11.92 kB / 0.8393 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1877, allocations: 4.031 kB / 0.8393 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1877, allocations: 8 kB / 0.8393 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1877, allocations: 4 kB / 0.8393 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1877, allocations: 0 / 0.8393 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.188, allocations: 203.3 kB / 0.8395 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.188, allocations: 11.91 kB / 0.8395 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.188, allocations: 4.031 kB / 0.8395 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-05/0.1881, allocations: 4 kB / 0.8395 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.1881, allocations: 11.98 kB / 0.8395 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.1881, allocations: 0 / 0.8395 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001762/0.1883, allocations: 193.2 kB / 0.8397 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1883, allocations: 0 / 0.8397 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002875/0.1886, allocations: 47.88 kB / 0.8398 GB, free: 1.117 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.0006884/0.1893, allocations: 0.7931 MB / 0.8405 GB, free: 308 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.1895, allocations: 59.95 kB / 0.8406 GB, free: 248 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1895, allocations: 4.094 kB / 0.8406 GB, free: 244 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.328e-05/0.1896, allocations: 35.97 kB / 0.8406 GB, free: 208 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.19, allocations: 43.16 kB / 0.8407 GB, free: 168 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000788/0.1908, allocations: 420.3 kB / 0.8411 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.1912, allocations: 0.7353 MB / 0.8418 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.036e-05/0.1912, allocations: 11.97 kB / 0.8418 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.198e-05/0.1913, allocations: 47.42 kB / 0.8419 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.1913, allocations: 0 / 0.8419 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.2215, allocations: 4.261 MB / 0.846 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.39, allocations: 13.62 kB / 0.846 GB, free: 10.8 MB / 0.5919 GB " [Timeout remaining time 650] (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: 14.379036672999064] Failed to read output from testmodel.py, exit status != 0: 10.494832074000442 10.51160367 10.325320565 Calling exit ...