Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 101.2 kB / 16.27 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 192 kB / 17.2 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7467/0.7467, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 67.91 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3372, allocations: 77.93 MB / 0.5673 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002903/0.3402, allocations: 1.235 MB / 0.5685 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.3412, allocations: 0.5851 MB / 0.5691 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.382e-05/0.3412, allocations: 0 / 0.5691 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.3413, allocations: 0 / 0.5691 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.662e-05/0.3414, allocations: 6.75 kB / 0.5691 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006877/0.3421, allocations: 139.7 kB / 0.5692 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.902e-05/0.3421, allocations: 10.31 kB / 0.5692 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.3422, allocations: 6.312 kB / 0.5692 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.068e-05/0.3422, allocations: 8.094 kB / 0.5692 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.088e-05/0.3422, allocations: 1.969 kB / 0.5692 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.3423, allocations: 2.531 kB / 0.5692 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007328/0.343, allocations: 346.5 kB / 0.5696 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.343, allocations: 0 / 0.5696 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.3431, allocations: 11.62 kB / 0.5696 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.3434, allocations: 140.5 kB / 0.5697 GB, free: 31.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3434, allocations: 5.734 kB / 0.5697 GB, free: 31.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3434, allocations: 2.531 kB / 0.5697 GB, free: 31.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3435, allocations: 0 / 0.5697 GB, free: 31.12 MB / 446.1 MB 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.000332/0.3438, allocations: 345.2 kB / 0.5701 GB, free: 30.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3438, allocations: 9.75 kB / 0.5701 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.274e-05/0.3439, allocations: 31.59 kB / 0.5701 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.673e-05/0.3439, allocations: 6.531 kB / 0.5701 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.61e-05/0.344, allocations: 163 kB / 0.5703 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.344, allocations: 6.281 kB / 0.5703 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.344, allocations: 5.281 kB / 0.5703 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.633e-05/0.3441, allocations: 32.92 kB / 0.5703 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3441, allocations: 7.875 kB / 0.5703 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.3442, allocations: 0 / 0.5703 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.3442, allocations: 1.062 kB / 0.5703 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.048e-05/0.3442, allocations: 4.703 kB / 0.5703 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.3443, allocations: 150.9 kB / 0.5705 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.159e-05/0.3444, allocations: 22.62 kB / 0.5705 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.985e-05/0.3444, allocations: 13.7 kB / 0.5705 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.3444, allocations: 1.641 kB / 0.5705 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.3445, allocations: 31.81 kB / 0.5705 GB, free: 30.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 2.614e-06/0.3445, allocations: 1.156 kB / 0.5705 GB, free: 30.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001374/0.3446, allocations: 49.14 kB / 0.5706 GB, free: 30.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.3447, allocations: 53.22 kB / 0.5706 GB, free: 30.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.905e-05/0.3447, allocations: 94.56 kB / 0.5707 GB, free: 30 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.703e-06/0.3447, allocations: 26.64 kB / 0.5707 GB, free: 29.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.463e-05/0.3448, allocations: 81.39 kB / 0.5708 GB, free: 29.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.3448, allocations: 10.3 kB / 0.5708 GB, free: 29.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.3448, allocations: 17.05 kB / 0.5708 GB, free: 29.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.946e-05/0.3449, allocations: 312.7 kB / 0.5711 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/0.3449, allocations: 3.234 kB / 0.5711 GB, free: 29.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.165e-05/0.3449, allocations: 2.719 kB / 0.5711 GB, free: 29.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.567e-05/0.345, allocations: 20.77 kB / 0.5712 GB, free: 29.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.345, allocations: 0 / 0.5712 GB, free: 29.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.665e-05/0.3451, allocations: 39.45 kB / 0.5712 GB, free: 29.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3451, allocations: 14.88 kB / 0.5712 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3451, allocations: 0 / 0.5712 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3451, allocations: 1.219 kB / 0.5712 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.3453, allocations: 10.38 kB / 0.5712 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002642/0.3456, allocations: 0.5892 MB / 0.5718 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.213e-05/0.3456, allocations: 1.625 kB / 0.5718 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.3456, allocations: 1.062 kB / 0.5718 GB, free: 28.89 MB / 446.1 MB 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.208e-05/0.3457, allocations: 114.7 kB / 0.5719 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.3457, allocations: 5.031 kB / 0.5719 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.3458, allocations: 43.59 kB / 0.572 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3458, allocations: 4.609 kB / 0.572 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3458, allocations: 3.25 kB / 0.572 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3459, allocations: 0 / 0.572 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.506e-05/0.3459, allocations: 154.4 kB / 0.5721 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3459, allocations: 1.938 kB / 0.5721 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.625e-05/0.346, allocations: 9.594 kB / 0.5721 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3461, allocations: 2.516 kB / 0.5721 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.3461, allocations: 0.5938 kB / 0.5721 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001988/0.3463, allocations: 0.5847 MB / 0.5727 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/0.3463, allocations: 5.094 kB / 0.5727 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.977e-05/0.3464, allocations: 62.38 kB / 0.5728 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.3464, allocations: 80.77 kB / 0.5728 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.3465, allocations: 4 kB / 0.5728 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.386e-05/0.3465, allocations: 1.312 kB / 0.5728 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.3465, allocations: 9.969 kB / 0.5729 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.3465, allocations: 1.969 kB / 0.5729 GB, free: 27.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.929e-05/0.3466, allocations: 82.86 kB / 0.5729 GB, free: 27.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3466, allocations: 0 / 0.5729 GB, free: 27.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003668/0.3469, allocations: 12.64 kB / 0.5729 GB, free: 27.69 MB / 446.1 MB 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.0002897/0.3472, allocations: 0.6026 MB / 0.5735 GB, free: 27.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.3474, allocations: 24.5 kB / 0.5736 GB, free: 27.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3474, allocations: 0.5938 kB / 0.5736 GB, free: 27.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.681e-05/0.3475, allocations: 13.69 kB / 0.5736 GB, free: 27.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.3477, allocations: 9.688 kB / 0.5736 GB, free: 27.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.3481, allocations: 145.6 kB / 0.5737 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.839e-05/0.3482, allocations: 0.6755 MB / 0.5744 GB, free: 26.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.522e-05/0.3482, allocations: 4.438 kB / 0.5744 GB, free: 26.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.863e-05/0.3482, allocations: 10.25 kB / 0.5744 GB, free: 26.22 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3482, allocations: 0 / 0.5744 GB, free: 26.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.3657, allocations: 1.322 MB / 0.5757 GB, free: 25.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.66, allocations: 9.219 kB / 0.5757 GB, free: 25.9 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)