Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_dev_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.004969/0.004969, allocations: 102.7 kB / 15.74 MB, free: 6.5 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.001291/0.001291, allocations: 195.9 kB / 16.68 MB, free: 6.375 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9387/0.9387, allocations: 135.5 MB / 426.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.91 kB / 0.5857 GB, free: 3.199 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4296, allocations: 81.03 MB / 0.6649 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001888/0.4316, allocations: 1.272 MB / 0.6661 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007613/0.4324, allocations: 0.5951 MB / 0.6667 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.412e-05/0.4324, allocations: 0 / 0.6667 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.889e-05/0.4324, allocations: 3.984 kB / 0.6667 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.041e-05/0.4325, allocations: 8.938 kB / 0.6667 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.433, allocations: 144 kB / 0.6668 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.81e-05/0.433, allocations: 17.42 kB / 0.6669 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.071e-05/0.4331, allocations: 2.5 kB / 0.6669 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.139e-05/0.4331, allocations: 16.33 kB / 0.6669 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.226e-05/0.4331, allocations: 8.422 kB / 0.6669 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.4332, allocations: 0 / 0.6669 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00045/0.4336, allocations: 342.1 kB / 0.6672 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.4336, allocations: 12.86 kB / 0.6672 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.4337, allocations: 7.125 kB / 0.6672 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.4339, allocations: 146.8 kB / 0.6674 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4339, allocations: 3.984 kB / 0.6674 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.492e-06/0.4339, allocations: 0 / 0.6674 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.4339, allocations: 1.344 kB / 0.6674 GB, free: 5.148 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.0003433/0.4343, allocations: 362 kB / 0.6677 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4343, allocations: 10.5 kB / 0.6677 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.368e-05/0.4343, allocations: 30.75 kB / 0.6678 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.231e-05/0.4344, allocations: 9.953 kB / 0.6678 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.355e-05/0.4344, allocations: 165.9 kB / 0.6679 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.4345, allocations: 1.625 kB / 0.6679 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-06/0.4345, allocations: 5.656 kB / 0.6679 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.254e-05/0.4346, allocations: 52.72 kB / 0.668 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.4346, allocations: 0 / 0.668 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.4346, allocations: 1.469 kB / 0.668 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.4346, allocations: 0 / 0.668 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.665e-05/0.4347, allocations: 13.38 kB / 0.668 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002337/0.4349, allocations: 256.5 kB / 0.6682 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.4351, allocations: 50.22 kB / 0.6683 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.358e-05/0.4351, allocations: 21 kB / 0.6683 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.4352, allocations: 5.422 kB / 0.6683 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.4352, allocations: 30.56 kB / 0.6683 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4352, allocations: 4 kB / 0.6684 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001584/0.4354, allocations: 56.22 kB / 0.6684 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.4354, allocations: 52.78 kB / 0.6685 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.565e-05/0.4354, allocations: 105.5 kB / 0.6686 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.4354, allocations: 25.7 kB / 0.6686 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.594e-05/0.4355, allocations: 85.55 kB / 0.6687 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.073e-05/0.4355, allocations: 9.094 kB / 0.6687 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.4355, allocations: 26.8 kB / 0.6687 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.246e-05/0.4356, allocations: 318.8 kB / 0.669 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.096e-05/0.4356, allocations: 9 kB / 0.669 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.475e-05/0.4356, allocations: 15.84 kB / 0.669 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.414e-05/0.4357, allocations: 32.64 kB / 0.6691 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4357, allocations: 0 / 0.6691 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.476e-05/0.4358, allocations: 60.53 kB / 0.6691 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.4358, allocations: 4.219 kB / 0.6691 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.4358, allocations: 5.281 kB / 0.6691 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.4358, allocations: 1.188 kB / 0.6691 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.247e-05/0.4359, allocations: 6.688 kB / 0.6691 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4359, allocations: 5.453 kB / 0.6691 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.293e-05/0.4359, allocations: 8.953 kB / 0.6691 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.4359, allocations: 1.125 kB / 0.6691 GB, free: 3.27 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 4.567e-05/0.436, allocations: 116.5 kB / 0.6693 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.436, allocations: 5.75 kB / 0.6693 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.4361, allocations: 67.25 kB / 0.6693 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4361, allocations: 1.094 kB / 0.6693 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.4361, allocations: 3.938 kB / 0.6693 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4361, allocations: 0 / 0.6693 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.4362, allocations: 159.2 kB / 0.6695 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4362, allocations: 1.094 kB / 0.6695 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.54e-05/0.4363, allocations: 9.547 kB / 0.6695 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.4363, allocations: 0 / 0.6695 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.4363, allocations: 1.5 kB / 0.6695 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4363, allocations: 4 kB / 0.6695 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4363, allocations: 4 kB / 0.6695 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.183e-05/0.4364, allocations: 151.3 kB / 0.6696 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.4364, allocations: 82.44 kB / 0.6697 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.4365, allocations: 1.125 kB / 0.6697 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.922e-05/0.4365, allocations: 0 / 0.6697 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.232e-05/0.4365, allocations: 6.234 kB / 0.6697 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.4365, allocations: 1.281 kB / 0.6697 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.899e-05/0.4366, allocations: 85.34 kB / 0.6698 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4366, allocations: 0 / 0.6698 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002484/0.4368, allocations: 18.19 kB / 0.6698 GB, free: 2.527 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.0002938/0.4371, allocations: 0.7031 MB / 0.6705 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.212e-05/0.4372, allocations: 23.84 kB / 0.6705 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.4372, allocations: 4.062 kB / 0.6705 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.135e-05/0.4372, allocations: 20.2 kB / 0.6706 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.4375, allocations: 1.125 kB / 0.6706 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.4378, allocations: 156.3 kB / 0.6707 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.411e-05/0.4379, allocations: 0.6785 MB / 0.6714 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.09e-05/0.438, allocations: 6.562 kB / 0.6714 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.438, allocations: 12.78 kB / 0.6714 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.438, allocations: 1.375 kB / 0.6714 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.4587, allocations: 1.386 MB / 0.6728 GB, free: 176 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.83/8.288, allocations: 12 kB / 0.6728 GB, free: 168 kB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)