Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.0007564/0.0007564, 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.0008899/0.0008899, 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.844/0.844, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.001486/0.001486, allocations: 229.4 kB / 259.4 MB, free: 13.04 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.653/0.653, allocations: 138.4 MB / 454.3 MB, free: 1.672 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.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.6463 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.227e-05, allocations: 4.094 kB / 0.6463 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001805/0.001827, allocations: 1.269 MB / 0.6475 GB, free: 28.06 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006596/0.002487, allocations: 0.524 MB / 0.648 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.235e-05/0.002519, allocations: 4 kB / 0.6481 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.002539, allocations: 0 / 0.6481 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.251e-05/0.002581, allocations: 0 / 0.6481 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.003111, allocations: 143.7 kB / 0.6482 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.679e-05/0.003168, allocations: 8.875 kB / 0.6482 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.003213, allocations: 10.55 kB / 0.6482 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.214e-05/0.003246, allocations: 10.05 kB / 0.6482 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.416e-05/0.00329, allocations: 2.625 kB / 0.6482 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.003303, allocations: 4 kB / 0.6482 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003255/0.003629, allocations: 265.5 kB / 0.6485 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.003645, allocations: 4.625 kB / 0.6485 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.003665, allocations: 6.188 kB / 0.6485 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.003884, allocations: 154.4 kB / 0.6486 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.003887, allocations: 0 / 0.6486 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.553e-06/0.003889, allocations: 0 / 0.6486 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.003894, allocations: 1.344 kB / 0.6486 GB, free: 27.31 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002747/0.004168, allocations: 270.3 kB / 0.6489 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.004211, allocations: 10.81 kB / 0.6489 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.472e-05/0.004236, allocations: 34.75 kB / 0.6489 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.049e-05/0.004257, allocations: 6.531 kB / 0.6489 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.219e-05/0.004309, allocations: 107 kB / 0.649 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.004317, allocations: 1.688 kB / 0.649 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-06/0.004325, allocations: 384 / 0.649 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.535e-05/0.0044, allocations: 38.03 kB / 0.6491 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.004407, allocations: 192 / 0.6491 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.004414, allocations: 1.562 kB / 0.6491 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.004419, allocations: 4.125 kB / 0.6491 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.241e-05/0.004441, allocations: 7.812 kB / 0.6491 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.406e-05/0.004535, allocations: 119.4 kB / 0.6492 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.874e-05/0.004584, allocations: 35.42 kB / 0.6492 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.426e-05/0.004598, allocations: 7.453 kB / 0.6492 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.00462, allocations: 1.344 kB / 0.6493 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.004635, allocations: 39.81 kB / 0.6493 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.004636, allocations: 0 / 0.6493 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001198/0.004756, allocations: 42.44 kB / 0.6493 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/0.004776, allocations: 56.69 kB / 0.6494 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.841e-05/0.004814, allocations: 92.3 kB / 0.6495 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.518e-06/0.004819, allocations: 31.23 kB / 0.6495 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.686e-06/0.004827, allocations: 84.14 kB / 0.6496 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.004848, allocations: 5.547 kB / 0.6496 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.004869, allocations: 12.03 kB / 0.6496 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.627e-05/0.004895, allocations: 316 kB / 0.6499 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.004905, allocations: 6.875 kB / 0.6499 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-06/0.004913, allocations: 1.469 kB / 0.6499 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.257e-05/0.004935, allocations: 14.67 kB / 0.6499 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.004937, allocations: 0 / 0.6499 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.858e-05/0.004976, allocations: 38.64 kB / 0.65 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.004988, allocations: 8.812 kB / 0.65 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.004992, allocations: 4 kB / 0.65 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.005005, allocations: 5.391 kB / 0.65 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.005145, allocations: 10.88 kB / 0.65 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001645/0.00531, allocations: 0.5829 MB / 0.6506 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.191e-05/0.005322, allocations: 1.469 kB / 0.6506 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.005327, allocations: 5.297 kB / 0.6506 GB, free: 25.23 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): 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 4.424e-05/0.005371, allocations: 111.9 kB / 0.6507 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-06/0.005377, allocations: 9.531 kB / 0.6507 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.888e-05/0.005456, allocations: 45.06 kB / 0.6507 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.005458, allocations: 0 / 0.6507 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.005462, allocations: 3.984 kB / 0.6507 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005465, allocations: 1.094 kB / 0.6507 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.118e-05/0.005506, allocations: 120.1 kB / 0.6508 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.005508, allocations: 3.938 kB / 0.6508 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/0.005559, allocations: 11.8 kB / 0.6509 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.005562, allocations: 1.5 kB / 0.6509 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.005567, allocations: 7.875 kB / 0.6509 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.848e-05/0.005665, allocations: 0.5832 MB / 0.6514 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.005667, allocations: 0 / 0.6514 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.655e-05/0.005703, allocations: 67.75 kB / 0.6515 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-06/0.005709, allocations: 1.094 kB / 0.6515 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.005719, allocations: 5 kB / 0.6515 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-06/0.005725, allocations: 0 / 0.6515 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.005738, allocations: 5.062 kB / 0.6515 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.00574, allocations: 1.094 kB / 0.6515 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.367e-05/0.005754, allocations: 85.59 kB / 0.6516 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.005754, allocations: 0 / 0.6516 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001344/0.005888, allocations: 18.58 kB / 0.6516 GB, free: 24.12 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 (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.0002095/0.006098, allocations: 0.6073 MB / 0.6522 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001278/0.006226, allocations: 19.83 kB / 0.6522 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.006227, allocations: 1.531 kB / 0.6522 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.128e-05/0.006259, allocations: 16.89 kB / 0.6522 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.006373, allocations: 8.375 kB / 0.6522 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003923/0.006765, allocations: 130.8 kB / 0.6524 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.438e-05/0.006789, allocations: 59.25 kB / 0.6524 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.432e-05/0.006804, allocations: 0 / 0.6524 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.006826, allocations: 9.656 kB / 0.6524 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of SimCode: time 7.71e-07/0.006827, allocations: 0 / 0.6524 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01509/0.02192, allocations: 1.972 MB / 0.6544 GB, free: 22.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.152/7.173, allocations: 5.812 kB / 0.6544 GB, free: 22.03 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_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_m_flow.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.948709080927074] Failed to read output from testmodel.py, exit status != 0: 7.257334567606449 7.266205231 7.260889587 Calling exit ...