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.007324/0.007324, allocations: 100.3 kB / 15.73 MB, free: 6.012 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.001749/0.001749, allocations: 190 kB / 16.67 MB, free: 5.934 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.77/0.77, allocations: 135.1 MB / 425.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.08 kB / 0.5851 GB, free: 21.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1456, allocations: 80.92 MB / 0.6641 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002432/0.1481, allocations: 1.281 MB / 0.6654 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009625/0.1491, allocations: 0.6035 MB / 0.666 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.182e-05/0.1492, allocations: 0 / 0.666 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.1492, allocations: 0 / 0.666 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.843e-05/0.1493, allocations: 3.938 kB / 0.666 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005884/0.1498, allocations: 146 kB / 0.6661 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.45e-05/0.1499, allocations: 27.91 kB / 0.6662 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.873e-05/0.15, allocations: 0 / 0.6662 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.607e-05/0.15, allocations: 11.92 kB / 0.6662 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.422e-05/0.1501, allocations: 8 kB / 0.6662 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.1501, allocations: 4 kB / 0.6662 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004868/0.1506, allocations: 339.3 kB / 0.6665 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.1506, allocations: 4 kB / 0.6665 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.1506, allocations: 11.92 kB / 0.6665 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.1509, allocations: 147.8 kB / 0.6667 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1509, allocations: 4 kB / 0.6667 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1509, allocations: 0 / 0.6667 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.1509, allocations: 0 / 0.6667 GB, free: 3.707 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.0004234/0.1513, allocations: 363.1 kB / 0.667 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.1514, allocations: 9.109 kB / 0.667 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.628e-05/0.1514, allocations: 30.75 kB / 0.667 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.1515, allocations: 12.89 kB / 0.6671 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1516, allocations: 160.4 kB / 0.6672 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1516, allocations: 384 / 0.6672 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.1516, allocations: 16.06 kB / 0.6672 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.1517, allocations: 41.69 kB / 0.6673 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1518, allocations: 3.938 kB / 0.6673 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.1518, allocations: 0 / 0.6673 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1518, allocations: 0 / 0.6673 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.839e-05/0.1518, allocations: 19.92 kB / 0.6673 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.1522, allocations: 252.9 kB / 0.6675 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.1524, allocations: 54.62 kB / 0.6676 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.1524, allocations: 16.86 kB / 0.6676 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.1524, allocations: 0 / 0.6676 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1525, allocations: 34.55 kB / 0.6676 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1525, allocations: 4 kB / 0.6676 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001634/0.1526, allocations: 57.67 kB / 0.6677 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.1527, allocations: 51.41 kB / 0.6677 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.356e-05/0.1527, allocations: 109.8 kB / 0.6678 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.1528, allocations: 25.7 kB / 0.6679 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/0.1528, allocations: 84.14 kB / 0.668 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.1528, allocations: 19.83 kB / 0.668 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.1529, allocations: 13.72 kB / 0.668 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.145e-05/0.153, allocations: 318.8 kB / 0.6683 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/0.153, allocations: 4 kB / 0.6683 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.183e-05/0.153, allocations: 33.7 kB / 0.6683 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.938e-05/0.1531, allocations: 29.72 kB / 0.6684 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1531, allocations: 0 / 0.6684 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.52e-05/0.1532, allocations: 53.62 kB / 0.6684 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1532, allocations: 9.562 kB / 0.6684 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1532, allocations: 0 / 0.6684 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1532, allocations: 0 / 0.6684 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.083e-05/0.1533, allocations: 11.98 kB / 0.6684 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1533, allocations: 4.031 kB / 0.6684 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.704e-05/0.1533, allocations: 3.953 kB / 0.6684 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.1534, allocations: 4 kB / 0.6684 GB, free: 1.652 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 7.061e-05/0.1534, allocations: 117.7 kB / 0.6685 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.1535, allocations: 4 kB / 0.6685 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.1536, allocations: 57.17 kB / 0.6686 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1536, allocations: 4 kB / 0.6686 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1536, allocations: 0 / 0.6686 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1536, allocations: 4 kB / 0.6686 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.1538, allocations: 161.5 kB / 0.6688 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1538, allocations: 0 / 0.6688 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.752e-05/0.1539, allocations: 8 kB / 0.6688 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.1539, allocations: 0 / 0.6688 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.1539, allocations: 0 / 0.6688 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1539, allocations: 0 / 0.6688 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1539, allocations: 3.938 kB / 0.6688 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.154, allocations: 151.5 kB / 0.6689 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.1541, allocations: 89.05 kB / 0.669 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.1541, allocations: 11.94 kB / 0.669 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.291e-05/0.1541, allocations: 0.5156 kB / 0.669 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.1542, allocations: 0 / 0.669 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.1542, allocations: 4 kB / 0.669 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.1542, allocations: 79.27 kB / 0.6691 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1542, allocations: 0 / 0.6691 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002729/0.1545, allocations: 27.86 kB / 0.6691 GB, free: 0.8359 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.0004622/0.155, allocations: 0.7058 MB / 0.6698 GB, free: 104 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.1551, allocations: 23.98 kB / 0.6698 GB, free: 80 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1551, allocations: 0 / 0.6698 GB, free: 80 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.272e-05/0.1551, allocations: 15.94 kB / 0.6699 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.1553, allocations: 0 / 0.6699 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004742/0.1558, allocations: 168.1 kB / 0.67 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.1561, allocations: 0.6729 MB / 0.6707 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.1561, allocations: 8.219 kB / 0.6707 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.1561, allocations: 11.44 kB / 0.6707 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1561, allocations: 0 / 0.6707 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.1766, allocations: 1.382 MB / 0.672 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.247/7.423, allocations: 7.094 kB / 0.672 GB, free: 13.86 MB / 0.5137 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)