Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.000865/0.000865, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008269/0.0008269, allocations: 165.9 kB / 22.45 MB, free: 2.102 MB / 18.57 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 0.8434/0.8434, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001358/0.001358, allocations: 233.6 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6492/0.6492, allocations: 138.4 MB / 454.3 MB, free: 1.637 MB / 362.7 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.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 1.469 kB / 0.6463 GB, free: 29.21 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.288e-05, allocations: 8.047 kB / 0.6463 GB, free: 29.2 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002039/0.002062, allocations: 1.698 MB / 0.6479 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.003098, allocations: 1.036 MB / 0.649 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.014e-05/0.003138, allocations: 0 / 0.649 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.003469, allocations: 138 kB / 0.6491 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.007e-05/0.003519, allocations: 53.2 kB / 0.6491 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.003893, allocations: 178.3 kB / 0.6493 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.004015, allocations: 106.2 kB / 0.6494 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.004058, allocations: 6.953 kB / 0.6494 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.469e-05/0.004133, allocations: 48.64 kB / 0.6495 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.809e-05/0.004211, allocations: 55.08 kB / 0.6495 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.004225, allocations: 2.344 kB / 0.6495 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.004457, allocations: 189.9 kB / 0.6497 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.004522, allocations: 55.89 kB / 0.6497 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.004558, allocations: 36.19 kB / 0.6498 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.004841, allocations: 316.7 kB / 0.6501 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.004845, allocations: 8 kB / 0.6501 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.503e-06/0.004847, allocations: 1.375 kB / 0.6501 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.004852, allocations: 0 / 0.6501 GB, free: 26.41 MB / 0.5105 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.0004086/0.005261, allocations: 434.4 kB / 0.6505 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.005303, allocations: 10 kB / 0.6505 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.33e-05/0.005326, allocations: 34.75 kB / 0.6506 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.005356, allocations: 21.42 kB / 0.6506 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.02e-05/0.005437, allocations: 160.8 kB / 0.6507 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.005446, allocations: 1.469 kB / 0.6507 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.005455, allocations: 6.844 kB / 0.6507 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.005608, allocations: 80.38 kB / 0.6508 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.005615, allocations: 3.938 kB / 0.6508 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.005624, allocations: 5.188 kB / 0.6508 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.005628, allocations: 0 / 0.6508 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.005752, allocations: 100 kB / 0.6509 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.006107, allocations: 338.2 kB / 0.6512 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.006218, allocations: 103.5 kB / 0.6513 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.053e-05/0.006278, allocations: 52.83 kB / 0.6514 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.939e-05/0.006328, allocations: 28.91 kB / 0.6514 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.006342, allocations: 35.97 kB / 0.6514 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.006343, allocations: 0 / 0.6514 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002727/0.006615, allocations: 189.9 kB / 0.6516 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/0.006636, allocations: 55.53 kB / 0.6517 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.00679, allocations: 258.5 kB / 0.6519 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.982e-06/0.006796, allocations: 27.02 kB / 0.652 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.357e-05/0.006849, allocations: 134.8 kB / 0.6521 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.006865, allocations: 11.88 kB / 0.6521 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.00689, allocations: 14.22 kB / 0.6521 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.275e-05/0.006922, allocations: 328.2 kB / 0.6524 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.242e-05/0.006995, allocations: 51.95 kB / 0.6525 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.009e-05/0.007055, allocations: 47.81 kB / 0.6525 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.007185, allocations: 105.4 kB / 0.6526 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.007188, allocations: 3.938 kB / 0.6526 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001753/0.007364, allocations: 146.5 kB / 0.6528 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.007384, allocations: 6.219 kB / 0.6528 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.00739, allocations: 0 / 0.6528 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.007408, allocations: 1.281 kB / 0.6528 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.43e-05/0.007492, allocations: 15.08 kB / 0.6528 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.007499, allocations: 3.984 kB / 0.6528 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.839e-05/0.007538, allocations: 7.781 kB / 0.6528 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.007544, allocations: 1.312 kB / 0.6528 GB, free: 24.27 MB / 0.5105 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 6.823e-05/0.007613, allocations: 141.5 kB / 0.6529 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.007633, allocations: 22.95 kB / 0.653 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.007852, allocations: 171.5 kB / 0.6531 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.007855, allocations: 0 / 0.6531 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.00786, allocations: 1.125 kB / 0.6531 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.007863, allocations: 48 / 0.6531 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.008008, allocations: 213.2 kB / 0.6533 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.008009, allocations: 0 / 0.6533 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.582e-05/0.008045, allocations: 12.89 kB / 0.6533 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.008047, allocations: 0 / 0.6533 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.008055, allocations: 1.375 kB / 0.6533 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.008057, allocations: 0 / 0.6533 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.008058, allocations: 0 / 0.6533 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.008228, allocations: 255.8 kB / 0.6536 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.637e-05/0.008244, allocations: 17.48 kB / 0.6536 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.008259, allocations: 3.938 kB / 0.6536 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.592e-05/0.008305, allocations: 7.469 kB / 0.6536 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.008337, allocations: 6.328 kB / 0.6536 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.008342, allocations: 1.031 kB / 0.6536 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.745e-05/0.008439, allocations: 192 kB / 0.6538 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008439, allocations: 0 / 0.6538 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002561/0.008695, allocations: 74.27 kB / 0.6539 GB, free: 23.47 MB / 0.5105 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 (3): * Single equations (assignments): 3 * 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.0004345/0.00913, allocations: 0.8642 MB / 0.6547 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001748/0.009305, allocations: 100.4 kB / 0.6548 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.009306, allocations: 0 / 0.6548 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.403e-05/0.00937, allocations: 51.27 kB / 0.6549 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.009727, allocations: 46.7 kB / 0.6549 GB, free: 22.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006082/0.01034, allocations: 442.4 kB / 0.6553 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.576e-05/0.01041, allocations: 129.7 kB / 0.6554 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.79e-05/0.01045, allocations: 5.438 kB / 0.6554 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.0105, allocations: 53.41 kB / 0.6555 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of SimCode: time 7.12e-07/0.0105, allocations: 0 / 0.6555 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.02743, allocations: 5.388 MB / 0.6608 GB, free: 18.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.457/6.484, allocations: 5.406 kB / 0.6608 GB, free: 18.75 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi_fmu --startTime=0 --stopTime=1.1 --stepSize=0.00044 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.131092624738812] Failed to read output from testmodel.py, exit status != 0: 6.563426683656871 6.570394537 6.564070768 Calling exit ...