Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.000781/0.000781, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001181/0.001181, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.877/0.877, allocations: 177.2 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.001419/0.001419, allocations: 245.8 kB / 259.4 MB, free: 13.03 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.6773/0.6773, allocations: 138.4 MB / 454.3 MB, free: 30.06 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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.6463 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.426e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001749/0.001773, allocations: 1.274 MB / 0.6475 GB, free: 0.6016 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0006574/0.002431, allocations: 0.5261 MB / 0.648 GB, free: 76 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.221e-05/0.002453, allocations: 0 / 0.648 GB, free: 76 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.002469, allocations: 4 kB / 0.648 GB, free: 72 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.656e-05/0.002506, allocations: 3.938 kB / 0.648 GB, free: 68 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.2533/0.2558, allocations: 134.9 kB / 0.6482 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.812e-05/0.2559, allocations: 13.83 kB / 0.6482 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.256, allocations: 2.297 kB / 0.6482 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.608e-05/0.256, allocations: 7.953 kB / 0.6482 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.375e-05/0.256, allocations: 2.125 kB / 0.6482 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.256, allocations: 1.094 kB / 0.6482 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003868/0.2564, allocations: 267.5 kB / 0.6485 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.2564, allocations: 3.609 kB / 0.6485 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.2565, allocations: 2.609 kB / 0.6485 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.2567, allocations: 158.2 kB / 0.6486 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2567, allocations: 0.5312 kB / 0.6486 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2567, allocations: 1.406 kB / 0.6486 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.2568, allocations: 0 / 0.6486 GB, free: 55.88 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003118/0.2571, allocations: 276.9 kB / 0.6489 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.2571, allocations: 10.62 kB / 0.6489 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.278e-05/0.2571, allocations: 32.84 kB / 0.6489 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.2572, allocations: 4.375 kB / 0.6489 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.113e-05/0.2572, allocations: 106.5 kB / 0.649 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.2572, allocations: 2.469 kB / 0.649 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.2572, allocations: 3.875 kB / 0.649 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.063e-05/0.2573, allocations: 34.84 kB / 0.6491 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2573, allocations: 3.391 kB / 0.6491 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.2573, allocations: 1.75 kB / 0.6491 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.2574, allocations: 6.031 kB / 0.6491 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.795e-05/0.2574, allocations: 6.891 kB / 0.6491 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001196/0.2575, allocations: 121.4 kB / 0.6492 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.173e-05/0.2576, allocations: 22.55 kB / 0.6492 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.2576, allocations: 12.95 kB / 0.6492 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.2576, allocations: 2.594 kB / 0.6492 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.2576, allocations: 33.52 kB / 0.6493 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2576, allocations: 0.8438 kB / 0.6493 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0001536/0.2578, allocations: 39.31 kB / 0.6493 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.2578, allocations: 58.75 kB / 0.6494 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.907e-05/0.2578, allocations: 96.95 kB / 0.6495 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.2578, allocations: 27.3 kB / 0.6495 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.065e-05/0.2579, allocations: 83.61 kB / 0.6496 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.2579, allocations: 9.812 kB / 0.6496 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.2579, allocations: 17.92 kB / 0.6496 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.072e-05/0.2579, allocations: 312.2 kB / 0.6499 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.2579, allocations: 2.375 kB / 0.6499 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.917e-06/0.258, allocations: 3.359 kB / 0.6499 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.456e-05/0.258, allocations: 18.39 kB / 0.6499 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.258, allocations: 1.031 kB / 0.6499 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.224e-05/0.258, allocations: 36.8 kB / 0.6499 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.258, allocations: 9.75 kB / 0.65 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.258, allocations: 0.875 kB / 0.65 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.2581, allocations: 1.969 kB / 0.65 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.2582, allocations: 15.16 kB / 0.65 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002035/0.2584, allocations: 0.5827 MB / 0.6505 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.2584, allocations: 4.125 kB / 0.6505 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.2584, allocations: 2.719 kB / 0.6505 GB, free: 53.91 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/0.2585, allocations: 109.2 kB / 0.6507 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-06/0.2585, allocations: 5.422 kB / 0.6507 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.861e-05/0.2586, allocations: 53.83 kB / 0.6507 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2586, allocations: 0.8125 kB / 0.6507 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2586, allocations: 2.703 kB / 0.6507 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2586, allocations: 1.188 kB / 0.6507 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.361e-05/0.2586, allocations: 119.1 kB / 0.6508 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2586, allocations: 4.5 kB / 0.6508 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.809e-05/0.2587, allocations: 9.547 kB / 0.6508 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2587, allocations: 2.656 kB / 0.6508 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.2587, allocations: 7.203 kB / 0.6508 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001208/0.2588, allocations: 0.583 MB / 0.6514 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.2588, allocations: 0.8438 kB / 0.6514 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.778e-05/0.2589, allocations: 64.52 kB / 0.6515 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.2589, allocations: 3.844 kB / 0.6515 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.779e-06/0.2589, allocations: 0.6562 kB / 0.6515 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-06/0.2589, allocations: 2.25 kB / 0.6515 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.2589, allocations: 1.125 kB / 0.6515 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.2589, allocations: 2.094 kB / 0.6515 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.4e-05/0.2589, allocations: 82.58 kB / 0.6516 GB, free: 52.87 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2589, allocations: 0 / 0.6516 GB, free: 52.87 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001356/0.259, allocations: 21.12 kB / 0.6516 GB, free: 52.86 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002153/0.2593, allocations: 0.6051 MB / 0.6522 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001344/0.2594, allocations: 19.44 kB / 0.6522 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2594, allocations: 1.375 kB / 0.6522 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.66e-05/0.2594, allocations: 18.02 kB / 0.6522 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001137/0.2595, allocations: 5.906 kB / 0.6522 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.26, allocations: 135.5 kB / 0.6524 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.667e-05/0.26, allocations: 58.52 kB / 0.6524 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.599e-05/0.26, allocations: 4.703 kB / 0.6524 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.26, allocations: 11.62 kB / 0.6524 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of SimCode: time 6.11e-07/0.26, allocations: 0 / 0.6524 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.2774, allocations: 1.956 MB / 0.6543 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.161/7.438, allocations: 15.22 kB / 0.6543 GB, free: 51.3 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.083707170560956] Failed to read output from testmodel.py, exit status != 0: 7.522768507711589 7.530849775 7.272308956 Calling exit ...