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.0009541/0.0009541, 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.001067/0.001067, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8745/0.8745, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.001434/0.001434, allocations: 237.3 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.6454/0.6454, allocations: 138.4 MB / 454.3 MB, free: 30 MB / 410.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.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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.279e-05, allocations: 9.031 kB / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002008/0.002031, allocations: 1.717 MB / 0.6479 GB, free: 152 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2302/0.2323, allocations: 0.9084 MB / 0.6488 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.888e-05/0.2323, allocations: 2.188 kB / 0.6488 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003792/0.2327, allocations: 130.9 kB / 0.649 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.187e-05/0.2328, allocations: 68.12 kB / 0.649 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.2332, allocations: 104 kB / 0.6491 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.2333, allocations: 112.7 kB / 0.6492 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.2334, allocations: 7.203 kB / 0.6492 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.276e-05/0.2334, allocations: 43.28 kB / 0.6493 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.333e-05/0.2335, allocations: 52.19 kB / 0.6493 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.2335, allocations: 2.406 kB / 0.6493 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.2338, allocations: 117.5 kB / 0.6494 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.665e-05/0.2339, allocations: 60.25 kB / 0.6495 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/0.2339, allocations: 41.2 kB / 0.6495 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.2342, allocations: 244.3 kB / 0.6498 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2342, allocations: 0 / 0.6498 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2342, allocations: 1.375 kB / 0.6498 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2342, allocations: 0 / 0.6498 GB, free: 55.65 MB / 0.5573 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.000434/0.2347, allocations: 424.8 kB / 0.6502 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.2347, allocations: 12.16 kB / 0.6502 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.305e-05/0.2347, allocations: 37.06 kB / 0.6502 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.2348, allocations: 21.33 kB / 0.6502 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.964e-05/0.2349, allocations: 161 kB / 0.6504 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.2349, allocations: 1.062 kB / 0.6504 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.108e-06/0.2349, allocations: 2.812 kB / 0.6504 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.235, allocations: 60.91 kB / 0.6505 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.235, allocations: 3.312 kB / 0.6505 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.235, allocations: 7.875 kB / 0.6505 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.2351, allocations: 1.906 kB / 0.6505 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.2352, allocations: 61.22 kB / 0.6505 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.2355, allocations: 295 kB / 0.6508 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.705e-05/0.2356, allocations: 65.41 kB / 0.6509 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.508e-05/0.2357, allocations: 39.08 kB / 0.6509 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.2357, allocations: 18.97 kB / 0.6509 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.2357, allocations: 33.11 kB / 0.651 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.2357, allocations: 0 / 0.651 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002557/0.236, allocations: 138.4 kB / 0.6511 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.236, allocations: 53.41 kB / 0.6511 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.2362, allocations: 257.7 kB / 0.6514 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-06/0.2362, allocations: 27.7 kB / 0.6514 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.2362, allocations: 135.8 kB / 0.6516 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.2362, allocations: 8.094 kB / 0.6516 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.2363, allocations: 14.47 kB / 0.6516 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.337e-05/0.2363, allocations: 333.1 kB / 0.6519 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.505e-05/0.2364, allocations: 31 kB / 0.6519 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.604e-05/0.2364, allocations: 30.95 kB / 0.6519 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.736e-05/0.2365, allocations: 65.86 kB / 0.652 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2365, allocations: 0.5 kB / 0.652 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001282/0.2366, allocations: 114.9 kB / 0.6521 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2366, allocations: 5.125 kB / 0.6521 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2366, allocations: 2.5 kB / 0.6521 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2367, allocations: 0 / 0.6521 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.701e-05/0.2367, allocations: 15.83 kB / 0.6521 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.2367, allocations: 0 / 0.6521 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.2368, allocations: 5.625 kB / 0.6521 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.2368, allocations: 1.75 kB / 0.6522 GB, free: 54.03 MB / 0.5573 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.057e-05/0.2368, allocations: 137 kB / 0.6523 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.2369, allocations: 24.39 kB / 0.6523 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.237, allocations: 119.7 kB / 0.6524 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.237, allocations: 0 / 0.6524 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.237, allocations: 1.25 kB / 0.6524 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.237, allocations: 1.969 kB / 0.6524 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.2372, allocations: 187.9 kB / 0.6526 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2372, allocations: 2.406 kB / 0.6526 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.001e-05/0.2372, allocations: 10.53 kB / 0.6526 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2372, allocations: 0.8906 kB / 0.6526 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.2372, allocations: 0 / 0.6526 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2372, allocations: 1.469 kB / 0.6526 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2372, allocations: 0 / 0.6526 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.2374, allocations: 212.2 kB / 0.6528 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.2374, allocations: 16.88 kB / 0.6528 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.2374, allocations: 1.969 kB / 0.6528 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.497e-05/0.2375, allocations: 4.781 kB / 0.6528 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.2375, allocations: 4.281 kB / 0.6528 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.2375, allocations: 2.188 kB / 0.6528 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001078/0.2376, allocations: 189 kB / 0.653 GB, free: 53.47 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2376, allocations: 0 / 0.653 GB, free: 53.47 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002498/0.2378, allocations: 58.62 kB / 0.6531 GB, free: 53.46 MB / 0.5573 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.0003766/0.2382, allocations: 0.7918 MB / 0.6539 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.2384, allocations: 64.94 kB / 0.6539 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2384, allocations: 0 / 0.6539 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.937e-05/0.2384, allocations: 34.62 kB / 0.654 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.2388, allocations: 46.58 kB / 0.654 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005859/0.2393, allocations: 417.9 kB / 0.6544 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.139e-05/0.2394, allocations: 128.8 kB / 0.6545 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.144e-05/0.2395, allocations: 5.281 kB / 0.6545 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.2395, allocations: 51.52 kB / 0.6546 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of SimCode: time 5.71e-07/0.2395, allocations: 0 / 0.6546 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.2567, allocations: 4.939 MB / 0.6594 GB, free: 51.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.322/6.578, allocations: 14.52 kB / 0.6594 GB, free: 51.4 MB / 0.5573 GB " [Timeout remaining time 653] (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 sys.exit(0), Time elapsed: 9.075456096790731] Failed to read output from testmodel.py, exit status != 0: 6.656330994330347 6.663375318 6.427699584 Calling exit ...