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.001206/0.001206, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9745/0.9745, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 64.28 kB / 0.5054 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1515, allocations: 80.92 MB / 0.5845 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00284/0.1543, allocations: 1.276 MB / 0.5857 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009308/0.1553, allocations: 0.597 MB / 0.5863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.1553, allocations: 0 / 0.5863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.1554, allocations: 3.938 kB / 0.5863 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.54e-05/0.1554, allocations: 0 / 0.5863 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005549/0.156, allocations: 151 kB / 0.5864 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.333e-05/0.1561, allocations: 27.86 kB / 0.5865 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.188e-05/0.1561, allocations: 4 kB / 0.5865 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.527e-05/0.1562, allocations: 4 kB / 0.5865 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.805e-05/0.1562, allocations: 15.92 kB / 0.5865 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.1563, allocations: 0 / 0.5865 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005664/0.1568, allocations: 347.3 kB / 0.5868 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.1569, allocations: 0 / 0.5868 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.1569, allocations: 7.938 kB / 0.5868 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.1572, allocations: 144 kB / 0.587 GB, free: 1.848 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1572, allocations: 0 / 0.587 GB, free: 1.848 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1572, allocations: 0 / 0.587 GB, free: 1.848 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1572, allocations: 4 kB / 0.587 GB, free: 1.844 MB / 494.1 MB 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.0004848/0.1577, allocations: 363.4 kB / 0.5873 GB, free: 1.441 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.1578, allocations: 12.03 kB / 0.5873 GB, free: 1.43 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.943e-05/0.1578, allocations: 42.67 kB / 0.5874 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.1579, allocations: 0.9375 kB / 0.5874 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.158, allocations: 164.4 kB / 0.5875 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.158, allocations: 4.375 kB / 0.5875 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.158, allocations: 384 / 0.5875 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.1581, allocations: 45.62 kB / 0.5876 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.1581, allocations: 4 kB / 0.5876 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1582, allocations: 0 / 0.5876 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1582, allocations: 3.938 kB / 0.5876 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.632e-05/0.1582, allocations: 19.97 kB / 0.5876 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.1586, allocations: 256.9 kB / 0.5879 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.1588, allocations: 42.62 kB / 0.5879 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/0.1589, allocations: 20.86 kB / 0.5879 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.1589, allocations: 4 kB / 0.5879 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.1589, allocations: 30.56 kB / 0.5879 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.1589, allocations: 3.938 kB / 0.588 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001942/0.1591, allocations: 61.53 kB / 0.588 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.1592, allocations: 55.41 kB / 0.5881 GB, free: 0.543 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.955e-05/0.1593, allocations: 101.8 kB / 0.5882 GB, free: 444 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.1593, allocations: 29.7 kB / 0.5882 GB, free: 408 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.1593, allocations: 80.14 kB / 0.5883 GB, free: 324 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.1594, allocations: 15.75 kB / 0.5883 GB, free: 308 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.1594, allocations: 17.7 kB / 0.5883 GB, free: 284 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1595, allocations: 322.8 kB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.1596, allocations: 4 kB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.17e-05/0.1596, allocations: 21.7 kB / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.331e-05/0.1597, allocations: 37.66 kB / 0.5887 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1597, allocations: 0 / 0.5887 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.06e-05/0.1598, allocations: 53.69 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1598, allocations: 4 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1598, allocations: 0 / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1598, allocations: 0 / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.023e-05/0.1599, allocations: 11.94 kB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1599, allocations: 3.984 kB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.683e-05/0.1599, allocations: 4 kB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1599, allocations: 8.031 kB / 0.5887 GB, free: 15.79 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.825e-05/0.16, allocations: 113.8 kB / 0.5889 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.16, allocations: 3.906 kB / 0.5889 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.1602, allocations: 57.19 kB / 0.5889 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1602, allocations: 3.938 kB / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1602, allocations: 128 / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.1602, allocations: 8.453 kB / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.1604, allocations: 157.6 kB / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1604, allocations: 8 kB / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.695e-05/0.1604, allocations: 7.938 kB / 0.5891 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1605, allocations: 0 / 0.5891 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.1605, allocations: 4 kB / 0.5891 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1605, allocations: 0 / 0.5891 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1605, allocations: 4 kB / 0.5891 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.1606, allocations: 143.5 kB / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.1607, allocations: 92.95 kB / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.1607, allocations: 4 kB / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.96e-05/0.1608, allocations: 0 / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.1608, allocations: 3.984 kB / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.1608, allocations: 4 kB / 0.5893 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.199e-05/0.1608, allocations: 79.22 kB / 0.5894 GB, free: 15 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1608, allocations: 0 / 0.5894 GB, free: 15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002582/0.1611, allocations: 27.94 kB / 0.5894 GB, free: 14.98 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.000506/0.1616, allocations: 0.7046 MB / 0.5901 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.1617, allocations: 23.92 kB / 0.5901 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1617, allocations: 0 / 0.5901 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.199e-05/0.1618, allocations: 12 kB / 0.5902 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.162, allocations: 4 kB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.1625, allocations: 164.2 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.1628, allocations: 0.6806 MB / 0.591 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.647e-05/0.1629, allocations: 3.984 kB / 0.591 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.1629, allocations: 15.42 kB / 0.591 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1629, allocations: 0 / 0.591 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.183, allocations: 1.354 MB / 0.5923 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.131/7.314, allocations: 7.266 kB / 0.5923 GB, free: 12.04 MB / 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)