Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.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.001009/0.001009, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.00105/0.00105, 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.8959/0.8959, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.001437/0.001437, allocations: 247.9 kB / 259.4 MB, free: 13.01 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.6772/0.6772, allocations: 138.4 MB / 454.3 MB, free: 30.02 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.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.6463 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.993e-05, allocations: 5.375 kB / 0.6463 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001111/0.001131, allocations: 0.5445 MB / 0.6468 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0007762/0.001907, allocations: 0.5933 MB / 0.6474 GB, free: 0.6836 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.371e-05/0.001921, allocations: 0 / 0.6474 GB, free: 0.6836 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.464e-05/0.001936, allocations: 0 / 0.6474 GB, free: 0.6836 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.893e-06/0.001943, allocations: 0 / 0.6474 GB, free: 0.6836 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000547/0.00249, allocations: 171.3 kB / 0.6476 GB, free: 0.5156 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.058e-05/0.00254, allocations: 3.984 kB / 0.6476 GB, free: 0.5117 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.002581, allocations: 4 kB / 0.6476 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.855e-05/0.002609, allocations: 7.984 kB / 0.6476 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 1.751e-05/0.002627, allocations: 4 kB / 0.6476 GB, free: 0.4961 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.002637, allocations: 0 / 0.6476 GB, free: 0.4961 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.002906, allocations: 207.5 kB / 0.6478 GB, free: 300 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.095e-06/0.002914, allocations: 0 / 0.6478 GB, free: 300 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.283e-05/0.002927, allocations: 0 / 0.6478 GB, free: 300 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.003118, allocations: 163.6 kB / 0.6479 GB, free: 136 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.00312, allocations: 0 / 0.6479 GB, free: 136 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.031e-06/0.003121, allocations: 0 / 0.6479 GB, free: 136 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.003124, allocations: 4 kB / 0.6479 GB, free: 132 kB / 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.2418/0.245, allocations: 266.6 kB / 0.6482 GB, free: 57.12 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.245, allocations: 12.5 kB / 0.6482 GB, free: 57.12 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.944e-05/0.245, allocations: 31.88 kB / 0.6482 GB, free: 57.08 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.2451, allocations: 1.562 kB / 0.6482 GB, free: 57.08 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.094e-05/0.2451, allocations: 105.3 kB / 0.6483 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2451, allocations: 2.062 kB / 0.6483 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.2452, allocations: 7.938 kB / 0.6484 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.095e-05/0.2452, allocations: 32.34 kB / 0.6484 GB, free: 56.93 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2453, allocations: 1.5 kB / 0.6484 GB, free: 56.93 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.2453, allocations: 1.031 kB / 0.6484 GB, free: 56.93 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2453, allocations: 4.656 kB / 0.6484 GB, free: 56.92 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.711e-05/0.2453, allocations: 13.16 kB / 0.6484 GB, free: 56.92 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.2455, allocations: 126.7 kB / 0.6485 GB, free: 56.77 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.157e-05/0.2456, allocations: 30.77 kB / 0.6486 GB, free: 56.75 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.2456, allocations: 10.62 kB / 0.6486 GB, free: 56.74 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004522/0.2461, allocations: 85.62 kB / 0.6486 GB, free: 56.74 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.521e-05/0.2461, allocations: 37.58 kB / 0.6487 GB, free: 56.7 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/0.2461, allocations: 0 / 0.6487 GB, free: 56.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.000144/0.2462, allocations: 45.84 kB / 0.6487 GB, free: 56.67 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.2462, allocations: 59.69 kB / 0.6488 GB, free: 56.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.386e-05/0.2463, allocations: 92.55 kB / 0.6489 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.55e-06/0.2463, allocations: 26.83 kB / 0.6489 GB, free: 56.47 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.845e-06/0.2463, allocations: 81.73 kB / 0.649 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.2463, allocations: 17.61 kB / 0.649 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.2463, allocations: 17.05 kB / 0.649 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.471e-05/0.2464, allocations: 314.8 kB / 0.6493 GB, free: 56.06 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.2464, allocations: 4.109 kB / 0.6493 GB, free: 56.06 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.631e-05/0.2464, allocations: 20.23 kB / 0.6493 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.43e-05/0.2464, allocations: 28.55 kB / 0.6494 GB, free: 56.03 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2465, allocations: 1.172 kB / 0.6494 GB, free: 56.03 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.986e-05/0.2465, allocations: 51.06 kB / 0.6494 GB, free: 56 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2465, allocations: 5.719 kB / 0.6494 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2465, allocations: 2.281 kB / 0.6494 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.2465, allocations: 0.7812 kB / 0.6494 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.435e-05/0.2466, allocations: 6.781 kB / 0.6494 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.2466, allocations: 6.094 kB / 0.6494 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.139e-05/0.2466, allocations: 9.453 kB / 0.6494 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.2466, allocations: 0.9062 kB / 0.6494 GB, free: 55.99 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 3.535e-05/0.2466, allocations: 113.3 kB / 0.6495 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-06/0.2466, allocations: 1.344 kB / 0.6495 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.636e-05/0.2467, allocations: 52.95 kB / 0.6496 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2467, allocations: 0.9688 kB / 0.6496 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2467, allocations: 4.438 kB / 0.6496 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2467, allocations: 2.812 kB / 0.6496 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.487e-05/0.2468, allocations: 122.3 kB / 0.6497 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2468, allocations: 0 / 0.6497 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.941e-05/0.2468, allocations: 8.047 kB / 0.6497 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2468, allocations: 2.406 kB / 0.6497 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.2468, allocations: 2.891 kB / 0.6497 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2468, allocations: 3.875 kB / 0.6497 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2468, allocations: 4.734 kB / 0.6497 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.094e-05/0.2469, allocations: 75.12 kB / 0.6498 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-06/0.2469, allocations: 2.328 kB / 0.6498 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-06/0.247, allocations: 1.453 kB / 0.6498 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.921e-06/0.247, allocations: 1.562 kB / 0.6498 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.247, allocations: 8.672 kB / 0.6498 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.247, allocations: 8.484 kB / 0.6498 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.395e-06/0.247, allocations: 75.28 kB / 0.6499 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.247, allocations: 0 / 0.6499 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002218/0.2472, allocations: 55.58 kB / 0.65 GB, free: 55.53 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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.0003983/0.2476, allocations: 0.6811 MB / 0.6506 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.098e-05/0.2477, allocations: 21.05 kB / 0.6506 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2477, allocations: 3.062 kB / 0.6506 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.967e-06/0.2477, allocations: 7.25 kB / 0.6507 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000105/0.2478, allocations: 7.594 kB / 0.6507 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/0.2484, allocations: 1.117 MB / 0.6518 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.913e-05/0.2484, allocations: 60.44 kB / 0.6518 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.247e-05/0.2484, allocations: 4.859 kB / 0.6518 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.2485, allocations: 12.66 kB / 0.6518 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of SimCode: time 7.41e-07/0.2485, allocations: 0 / 0.6518 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.2659, allocations: 2.83 MB / 0.6546 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.535/6.801, allocations: 16.17 kB / 0.6546 GB, free: 52.91 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_EulerCurve_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_EulerCurve.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.383636710233986] Failed to read output from testmodel.py, exit status != 0: 6.881554076448083 6.888908954 6.88417801 Calling exit ...