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.005794/0.005794, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001297/0.001297, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8361/0.8361, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.58 kB / 0.5809 GB, free: 1.121 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1597, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002104/0.1618, allocations: 1.288 MB / 0.6604 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008645/0.1627, allocations: 0.5941 MB / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.1628, allocations: 0 / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.1628, allocations: 0 / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.268e-05/0.1629, allocations: 11.91 kB / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005061/0.1634, allocations: 143.4 kB / 0.6612 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.278e-05/0.1634, allocations: 19.94 kB / 0.6612 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.1635, allocations: 3.984 kB / 0.6612 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.033e-05/0.1635, allocations: 15.86 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.728e-05/0.1636, allocations: 4 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.1636, allocations: 4 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004489/0.164, allocations: 339.3 kB / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.1641, allocations: 11.97 kB / 0.6616 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.1641, allocations: 7.938 kB / 0.6616 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.1643, allocations: 149.2 kB / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1643, allocations: 4 kB / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1644, allocations: 0 / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.1644, allocations: 0 / 0.6617 GB, free: 11.43 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.0004021/0.1648, allocations: 368.9 kB / 0.6621 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1648, allocations: 8.031 kB / 0.6621 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.991e-05/0.1649, allocations: 30.75 kB / 0.6621 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.1649, allocations: 4.938 kB / 0.6621 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.165, allocations: 164.3 kB / 0.6623 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.165, allocations: 4.375 kB / 0.6623 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.165, allocations: 20.05 kB / 0.6623 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.1651, allocations: 33.7 kB / 0.6623 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1652, allocations: 4 kB / 0.6623 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.1652, allocations: 0 / 0.6623 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1652, allocations: 0 / 0.6623 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.415e-05/0.1652, allocations: 15.98 kB / 0.6623 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.1655, allocations: 248.9 kB / 0.6626 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.1657, allocations: 54.62 kB / 0.6626 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.1658, allocations: 20.84 kB / 0.6626 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.1658, allocations: 3.984 kB / 0.6626 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.1658, allocations: 30.56 kB / 0.6627 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1658, allocations: 0 / 0.6627 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001669/0.166, allocations: 61.64 kB / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.166, allocations: 55.34 kB / 0.6628 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.228e-05/0.1661, allocations: 109.8 kB / 0.6629 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.1661, allocations: 25.7 kB / 0.6629 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.1662, allocations: 80.14 kB / 0.663 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.153e-05/0.1662, allocations: 15.84 kB / 0.663 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.1662, allocations: 17.72 kB / 0.663 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.781e-05/0.1663, allocations: 318.8 kB / 0.6633 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.1663, allocations: 8 kB / 0.6633 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.987e-05/0.1664, allocations: 25.72 kB / 0.6634 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.722e-05/0.1664, allocations: 29.7 kB / 0.6634 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1664, allocations: 0 / 0.6634 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.875e-05/0.1665, allocations: 57.62 kB / 0.6634 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1665, allocations: 13.5 kB / 0.6635 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1666, allocations: 0 / 0.6635 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1666, allocations: 0 / 0.6635 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.004e-05/0.1666, allocations: 8 kB / 0.6635 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1666, allocations: 4.031 kB / 0.6635 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.516e-05/0.1667, allocations: 3.953 kB / 0.6635 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.1667, allocations: 4 kB / 0.6635 GB, free: 9.375 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 6.302e-05/0.1667, allocations: 118.4 kB / 0.6636 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.1668, allocations: 4 kB / 0.6636 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.1669, allocations: 57.17 kB / 0.6636 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1669, allocations: 4 kB / 0.6637 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1669, allocations: 4.062 kB / 0.6637 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1669, allocations: 4 kB / 0.6637 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.1671, allocations: 161.6 kB / 0.6638 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1671, allocations: 0 / 0.6638 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.1671, allocations: 8 kB / 0.6638 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1671, allocations: 0 / 0.6638 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1672, allocations: 0 / 0.6638 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1672, allocations: 7.922 kB / 0.6638 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1672, allocations: 0 / 0.6638 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.1673, allocations: 155.9 kB / 0.664 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.1673, allocations: 81.11 kB / 0.6641 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.1673, allocations: 4 kB / 0.6641 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.855e-05/0.1674, allocations: 0 / 0.6641 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.1674, allocations: 4 kB / 0.6641 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.1674, allocations: 48 / 0.6641 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.166e-05/0.1675, allocations: 87.25 kB / 0.6641 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.1e-07/0.1675, allocations: 0 / 0.6641 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002502/0.1677, allocations: 23.88 kB / 0.6642 GB, free: 8.559 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.0004005/0.1681, allocations: 0.7006 MB / 0.6649 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.745e-05/0.1682, allocations: 23.98 kB / 0.6649 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1682, allocations: 0 / 0.6649 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-05/0.1683, allocations: 11.94 kB / 0.6649 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.1685, allocations: 4 kB / 0.6649 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.1689, allocations: 160.1 kB / 0.665 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.1691, allocations: 0.6807 MB / 0.6657 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.162e-05/0.1691, allocations: 256 / 0.6657 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.1692, allocations: 15.44 kB / 0.6657 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.1692, allocations: 0 / 0.6657 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06877/0.2379, allocations: 1.39 MB / 0.6671 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.418/8.656, allocations: 10.14 kB / 0.6671 GB, free: 5.617 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)