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.0008363/0.0008363, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008747/0.0008747, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.87/0.87, 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.001489/0.001489, allocations: 244.1 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.6982/0.6982, allocations: 138.4 MB / 454.3 MB, free: 30.07 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 2.715e-06/2.715e-06, allocations: 0 / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.823e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001461/0.001489, allocations: 0.5473 MB / 0.6468 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0008163/0.002305, allocations: 0.5855 MB / 0.6474 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.601e-05/0.002321, allocations: 4 kB / 0.6474 GB, free: 0.7461 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.002337, allocations: 0 / 0.6474 GB, free: 0.7461 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.512e-06/0.002343, allocations: 0 / 0.6474 GB, free: 0.7461 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005786/0.002922, allocations: 175.3 kB / 0.6476 GB, free: 0.5742 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 4.401e-05/0.002966, allocations: 7.984 kB / 0.6476 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.108e-05/0.003007, allocations: 0 / 0.6476 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.818e-05/0.003035, allocations: 4 kB / 0.6476 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 1.908e-05/0.003054, allocations: 7.984 kB / 0.6476 GB, free: 0.5547 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.003068, allocations: 0 / 0.6476 GB, free: 0.5547 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.003346, allocations: 199.6 kB / 0.6478 GB, free: 368 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.003359, allocations: 0 / 0.6478 GB, free: 368 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.003376, allocations: 8 kB / 0.6478 GB, free: 360 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.003579, allocations: 163.6 kB / 0.6479 GB, free: 196 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.003582, allocations: 0 / 0.6479 GB, free: 196 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.633e-06/0.003583, allocations: 0 / 0.6479 GB, free: 196 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.003588, allocations: 0 / 0.6479 GB, free: 196 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.2371/0.2407, allocations: 269.2 kB / 0.6482 GB, free: 56.62 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.2407, allocations: 12.03 kB / 0.6482 GB, free: 56.62 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.822e-05/0.2407, allocations: 35.38 kB / 0.6482 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.2408, allocations: 0.9375 kB / 0.6482 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.714e-05/0.2408, allocations: 104.5 kB / 0.6483 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.2408, allocations: 1.5 kB / 0.6483 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.2409, allocations: 4.672 kB / 0.6483 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.498e-05/0.2409, allocations: 36.42 kB / 0.6484 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.241, allocations: 192 / 0.6484 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.241, allocations: 2.656 kB / 0.6484 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.241, allocations: 5.312 kB / 0.6484 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.125e-05/0.241, allocations: 13.19 kB / 0.6484 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.2412, allocations: 126.5 kB / 0.6485 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.464e-05/0.2413, allocations: 29.92 kB / 0.6486 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/0.2413, allocations: 9.922 kB / 0.6486 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004755/0.2418, allocations: 89.19 kB / 0.6486 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.2418, allocations: 33.59 kB / 0.6487 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.2418, allocations: 3.75 kB / 0.6487 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0001572/0.242, allocations: 47.36 kB / 0.6487 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.242, allocations: 56.97 kB / 0.6488 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.567e-05/0.242, allocations: 93.28 kB / 0.6489 GB, free: 56.01 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.45e-06/0.242, allocations: 25.7 kB / 0.6489 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.326e-06/0.242, allocations: 82.22 kB / 0.649 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.2421, allocations: 16.03 kB / 0.649 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.2421, allocations: 22.03 kB / 0.649 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.702e-05/0.2421, allocations: 313.5 kB / 0.6493 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/0.2421, allocations: 6.391 kB / 0.6493 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.518e-05/0.2422, allocations: 21.45 kB / 0.6493 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.884e-05/0.2422, allocations: 28.56 kB / 0.6494 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2422, allocations: 0 / 0.6494 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.448e-05/0.2423, allocations: 51.58 kB / 0.6494 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.2423, allocations: 5.188 kB / 0.6494 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2423, allocations: 1.422 kB / 0.6494 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2423, allocations: 2.781 kB / 0.6494 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.397e-05/0.2424, allocations: 8.188 kB / 0.6494 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.2424, allocations: 4.812 kB / 0.6494 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.267e-05/0.2424, allocations: 1.312 kB / 0.6494 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.2424, allocations: 2.734 kB / 0.6494 GB, free: 55.5 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.807e-05/0.2424, allocations: 112.7 kB / 0.6495 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-06/0.2424, allocations: 0.875 kB / 0.6495 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.395e-05/0.2425, allocations: 52.31 kB / 0.6496 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2425, allocations: 4.375 kB / 0.6496 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.2425, allocations: 4.969 kB / 0.6496 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2425, allocations: 0.6562 kB / 0.6496 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.888e-05/0.2426, allocations: 121.6 kB / 0.6497 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2426, allocations: 3.062 kB / 0.6497 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.078e-05/0.2426, allocations: 6.172 kB / 0.6497 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.2426, allocations: 1.391 kB / 0.6497 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.2427, allocations: 0.9062 kB / 0.6497 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2427, allocations: 0.5156 kB / 0.6497 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.2427, allocations: 6.938 kB / 0.6497 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.919e-05/0.2428, allocations: 80.61 kB / 0.6498 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-06/0.2428, allocations: 4.047 kB / 0.6498 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.2428, allocations: 0.9062 kB / 0.6498 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-06/0.2428, allocations: 1.391 kB / 0.6498 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.2428, allocations: 8.734 kB / 0.6498 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.2428, allocations: 3.25 kB / 0.6498 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.004e-05/0.2428, allocations: 76.08 kB / 0.6499 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2428, allocations: 0 / 0.6499 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002434/0.2431, allocations: 53.39 kB / 0.65 GB, free: 55.04 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.0004065/0.2435, allocations: 0.6844 MB / 0.6506 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.78e-05/0.2436, allocations: 18.56 kB / 0.6506 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2436, allocations: 0.5938 kB / 0.6506 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.045e-05/0.2436, allocations: 8.328 kB / 0.6507 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001123/0.2437, allocations: 9.375 kB / 0.6507 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.2443, allocations: 1.118 MB / 0.6518 GB, free: 53.35 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.894e-05/0.2443, allocations: 56.75 kB / 0.6518 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.299e-05/0.2444, allocations: 2.688 kB / 0.6518 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.2444, allocations: 11.41 kB / 0.6518 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of SimCode: time 1.363e-06/0.2444, allocations: 5.125 kB / 0.6518 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.2646, allocations: 2.839 MB / 0.6546 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.388/6.653, allocations: 6.594 kB / 0.6546 GB, free: 52.41 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.326574741862714] Failed to read output from testmodel.py, exit status != 0: 6.732981218956411 6.740817426 6.735317668 Calling exit ...