Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.008117/0.008117, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.002082/0.002082, allocations: 197.5 kB / 16.68 MB, free: 5.977 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8302/0.8302, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 66.17 kB / 0.5809 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1539, allocations: 80.21 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00254/0.1565, allocations: 1.267 MB / 0.6604 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.1576, allocations: 0.6058 MB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.204e-05/0.1576, allocations: 3.938 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.921e-05/0.1577, allocations: 0 / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.604e-05/0.1578, allocations: 7.938 kB / 0.661 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006486/0.1584, allocations: 141.5 kB / 0.6612 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.735e-05/0.1585, allocations: 19.92 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.1585, allocations: 8 kB / 0.6612 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.876e-05/0.1586, allocations: 15.91 kB / 0.6612 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.482e-05/0.1586, allocations: 4 kB / 0.6612 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1587, allocations: 0 / 0.6612 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005674/0.1592, allocations: 343.3 kB / 0.6615 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.1593, allocations: 7.984 kB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.1593, allocations: 11.92 kB / 0.6616 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.1596, allocations: 145.2 kB / 0.6617 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1596, allocations: 0 / 0.6617 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.714e-06/0.1596, allocations: 0 / 0.6617 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.1596, allocations: 4 kB / 0.6617 GB, free: 11.4 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005093/0.1601, allocations: 367 kB / 0.6621 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1602, allocations: 12.03 kB / 0.6621 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.359e-05/0.1602, allocations: 30.75 kB / 0.6621 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.208e-05/0.1602, allocations: 0.9375 kB / 0.6621 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.1604, allocations: 168.3 kB / 0.6623 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.1604, allocations: 4.375 kB / 0.6623 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.1604, allocations: 4.125 kB / 0.6623 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.1606, allocations: 45.69 kB / 0.6623 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1606, allocations: 3.938 kB / 0.6623 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.1606, allocations: 0 / 0.6623 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1606, allocations: 0 / 0.6623 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.996e-05/0.1606, allocations: 19.98 kB / 0.6623 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.161, allocations: 248.9 kB / 0.6626 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.1612, allocations: 46.56 kB / 0.6626 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.1613, allocations: 20.92 kB / 0.6626 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.1613, allocations: 11.97 kB / 0.6626 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.1613, allocations: 30.56 kB / 0.6627 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1613, allocations: 0 / 0.6627 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001889/0.1615, allocations: 61.58 kB / 0.6627 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.1616, allocations: 55.41 kB / 0.6628 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.608e-05/0.1617, allocations: 97.86 kB / 0.6629 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1617, allocations: 29.7 kB / 0.6629 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.1617, allocations: 80.14 kB / 0.663 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.1618, allocations: 19.83 kB / 0.663 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.1618, allocations: 13.72 kB / 0.663 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1619, allocations: 326.7 kB / 0.6633 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.353e-05/0.162, allocations: 11.98 kB / 0.6633 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.078e-05/0.162, allocations: 17.72 kB / 0.6634 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.699e-05/0.1621, allocations: 38.02 kB / 0.6634 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1621, allocations: 0 / 0.6634 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.411e-05/0.1622, allocations: 57.69 kB / 0.6634 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1622, allocations: 4 kB / 0.6635 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1622, allocations: 0 / 0.6635 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1622, allocations: 0 / 0.6635 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.198e-05/0.1623, allocations: 11.98 kB / 0.6635 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1623, allocations: 3.938 kB / 0.6635 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.478e-05/0.1623, allocations: 7.953 kB / 0.6635 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.1623, allocations: 4.031 kB / 0.6635 GB, free: 9.34 MB / 0.4981 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 (5): * Single equations (assignments): 5 * 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 8.228e-05/0.1624, allocations: 118.4 kB / 0.6636 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.1625, allocations: 0 / 0.6636 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.1626, allocations: 65.16 kB / 0.6637 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1626, allocations: 0 / 0.6637 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1626, allocations: 0 / 0.6637 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1626, allocations: 0 / 0.6637 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.1628, allocations: 165.5 kB / 0.6638 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1628, allocations: 4 kB / 0.6638 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.1629, allocations: 7.938 kB / 0.6638 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1629, allocations: 0 / 0.6638 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-06/0.1629, allocations: 0 / 0.6638 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.1629, allocations: 4 kB / 0.6638 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1629, allocations: 0 / 0.6638 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.163, allocations: 155.4 kB / 0.664 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.1631, allocations: 81.09 kB / 0.6641 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.1631, allocations: 4 kB / 0.6641 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-05/0.1632, allocations: 4 kB / 0.6641 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.1632, allocations: 4 kB / 0.6641 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1632, allocations: 128 / 0.6641 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.436e-05/0.1632, allocations: 79.28 kB / 0.6641 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1632, allocations: 0 / 0.6641 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002542/0.1635, allocations: 23.86 kB / 0.6642 GB, free: 8.531 MB / 0.4981 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 (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 Backend phase and start with SimCode phase: time 0.0004893/0.164, allocations: 0.7045 MB / 0.6648 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.1641, allocations: 20.31 kB / 0.6649 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1641, allocations: 3.938 kB / 0.6649 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.088e-05/0.1642, allocations: 8 kB / 0.6649 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.1644, allocations: 11.94 kB / 0.6649 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.1648, allocations: 160.2 kB / 0.665 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.1651, allocations: 0.6807 MB / 0.6657 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.248e-05/0.1652, allocations: 4.25 kB / 0.6657 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.1652, allocations: 11.44 kB / 0.6657 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1652, allocations: 0 / 0.6657 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.1872, allocations: 1.393 MB / 0.6671 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.436/8.623, allocations: 12.47 kB / 0.6671 GB, free: 5.582 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)