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.001221/0.001221, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001425/0.001425, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.411/1.411, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002433/0.002433, allocations: 280 kB / 309.8 MB, free: 3.43 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.02/1.02, allocations: 180.6 MB / 0.5338 GB, free: 12.36 MB / 398.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",fmuType="cs",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.002832/0.002832, allocations: 96.19 kB / 0.7347 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4793/0.4821, allocations: 95.34 MB / 0.8278 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002665/0.4848, allocations: 1.755 MB / 0.8295 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.4858, allocations: 1.029 MB / 0.8305 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.4859, allocations: 2.375 kB / 0.8305 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003362/0.4862, allocations: 151.3 kB / 0.8306 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.475e-05/0.4863, allocations: 49.59 kB / 0.8307 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.4866, allocations: 102.4 kB / 0.8308 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.4867, allocations: 109.3 kB / 0.8309 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.491e-05/0.4867, allocations: 6.016 kB / 0.8309 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.209e-05/0.4868, allocations: 32.61 kB / 0.8309 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.786e-05/0.4869, allocations: 56.17 kB / 0.831 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.4869, allocations: 10.5 kB / 0.831 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.4871, allocations: 157.8 kB / 0.8311 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.939e-05/0.4872, allocations: 59.73 kB / 0.8312 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.4872, allocations: 64.42 kB / 0.8312 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.4875, allocations: 243.6 kB / 0.8315 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4875, allocations: 0 / 0.8315 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4875, allocations: 0 / 0.8315 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.4875, allocations: 2.625 kB / 0.8315 GB, free: 0.6641 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.0004927/0.488, allocations: 498.3 kB / 0.832 GB, free: 208 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.4881, allocations: 10.66 kB / 0.832 GB, free: 208 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.261e-05/0.4881, allocations: 1.266 kB / 0.832 GB, free: 208 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.01e-05/0.4881, allocations: 35.88 kB / 0.832 GB, free: 164 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.4881, allocations: 22.89 kB / 0.832 GB, free: 152 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.4883, allocations: 216.8 kB / 0.8322 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.4884, allocations: 2.203 kB / 0.8322 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.4884, allocations: 6.75 kB / 0.8322 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.4886, allocations: 67.73 kB / 0.8323 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.4886, allocations: 0 / 0.8323 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.4886, allocations: 0 / 0.8323 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.4886, allocations: 4.734 kB / 0.8323 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.4888, allocations: 61.89 kB / 0.8324 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.4892, allocations: 331.4 kB / 0.8327 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.4894, allocations: 64.11 kB / 0.8327 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.736e-05/0.4895, allocations: 39.47 kB / 0.8328 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.036e-05/0.4895, allocations: 14.31 kB / 0.8328 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.4896, allocations: 32.66 kB / 0.8328 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4896, allocations: 0 / 0.8328 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0004124/0.49, allocations: 136.6 kB / 0.833 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.49, allocations: 51.53 kB / 0.833 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.4903, allocations: 263.9 kB / 0.8333 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.4903, allocations: 25.7 kB / 0.8333 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.989e-05/0.4904, allocations: 134.4 kB / 0.8334 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.4904, allocations: 7.953 kB / 0.8334 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.4904, allocations: 13.2 kB / 0.8334 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002362/0.4907, allocations: 335 kB / 0.8338 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.965e-05/0.4908, allocations: 31.58 kB / 0.8338 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.741e-05/0.4909, allocations: 34.55 kB / 0.8338 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.491, allocations: 64.62 kB / 0.8339 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.491, allocations: 0 / 0.8339 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002305/0.4913, allocations: 106.3 kB / 0.834 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.4913, allocations: 9.094 kB / 0.834 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4913, allocations: 4.734 kB / 0.834 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.4913, allocations: 0 / 0.834 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.736e-05/0.4914, allocations: 9.641 kB / 0.834 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.4914, allocations: 2.625 kB / 0.834 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.343e-05/0.4915, allocations: 7.562 kB / 0.834 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.4915, allocations: 2.688 kB / 0.834 GB, free: 14.62 MB / 0.5919 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.0001174/0.4916, allocations: 141.7 kB / 0.8341 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.4916, allocations: 21.22 kB / 0.8342 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.4919, allocations: 118.2 kB / 0.8343 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4919, allocations: 0.7969 kB / 0.8343 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.4919, allocations: 0 / 0.8343 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.4919, allocations: 0.9688 kB / 0.8343 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.4921, allocations: 222.4 kB / 0.8345 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4921, allocations: 0 / 0.8345 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.4922, allocations: 17.33 kB / 0.8345 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4922, allocations: 4.031 kB / 0.8345 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.4922, allocations: 0.7969 kB / 0.8345 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4922, allocations: 0 / 0.8345 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4922, allocations: 0 / 0.8345 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.4925, allocations: 212.1 kB / 0.8347 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.637e-05/0.4926, allocations: 90.53 kB / 0.8348 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.4926, allocations: 4.641 kB / 0.8348 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.845e-05/0.4927, allocations: 12.81 kB / 0.8348 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.4927, allocations: 0.8438 kB / 0.8348 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.4927, allocations: 0 / 0.8348 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000179/0.4929, allocations: 192.7 kB / 0.835 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4929, allocations: 0 / 0.835 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003143/0.4932, allocations: 54.2 kB / 0.8351 GB, free: 13.82 MB / 0.5919 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.000811/0.494, allocations: 0.7922 MB / 0.8358 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.4943, allocations: 62.67 kB / 0.8359 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4943, allocations: 0 / 0.8359 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.4944, allocations: 34.22 kB / 0.8359 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.4948, allocations: 47.05 kB / 0.836 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008065/0.4956, allocations: 419.3 kB / 0.8364 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.496, allocations: 0.7362 MB / 0.8371 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.694e-05/0.496, allocations: 9.234 kB / 0.8371 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.267e-05/0.4961, allocations: 47.83 kB / 0.8371 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.4961, allocations: 0 / 0.8371 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.5197, allocations: 4.2 MB / 0.8412 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/8.686, allocations: 11.59 kB / 0.8413 GB, free: 11.5 MB / 0.5919 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi_fmu --startTime=0 --stopTime=1.1 --stepSize=0.00044 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.545904535974842] Failed to read output from testmodel.py, exit status != 0: 8.809538948000409 8.824899155 8.334502382 Calling exit ...