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.00658/0.00658, allocations: 105.9 kB / 15.73 MB, free: 6 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.001577/0.001578, allocations: 189 kB / 16.67 MB, free: 5.926 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7977/0.7977, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 61.94 kB / 0.5851 GB, free: 21.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1659, allocations: 80.92 MB / 0.6641 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002954/0.1689, allocations: 1.281 MB / 0.6654 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.17, allocations: 0.6035 MB / 0.666 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.984e-05/0.1701, allocations: 0 / 0.666 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.1701, allocations: 0 / 0.666 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.799e-05/0.1702, allocations: 3.938 kB / 0.666 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006468/0.1708, allocations: 142 kB / 0.6661 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.939e-05/0.1709, allocations: 23.92 kB / 0.6661 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.831e-05/0.171, allocations: 0 / 0.6661 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.649e-05/0.171, allocations: 7.938 kB / 0.6662 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.29e-05/0.171, allocations: 11.98 kB / 0.6662 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.1711, allocations: 4 kB / 0.6662 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005359/0.1716, allocations: 343.3 kB / 0.6665 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.1716, allocations: 4 kB / 0.6665 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.1717, allocations: 7.938 kB / 0.6665 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.172, allocations: 155.3 kB / 0.6667 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.172, allocations: 0 / 0.6667 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.172, allocations: 0 / 0.6667 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.172, allocations: 0 / 0.6667 GB, free: 3.73 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.0004836/0.1725, allocations: 359.5 kB / 0.667 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1725, allocations: 13.09 kB / 0.667 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/0.1726, allocations: 30.75 kB / 0.667 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.1726, allocations: 4.938 kB / 0.667 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.1728, allocations: 164.3 kB / 0.6672 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1728, allocations: 4.375 kB / 0.6672 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.1728, allocations: 8.125 kB / 0.6672 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.1729, allocations: 49.56 kB / 0.6673 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1729, allocations: 0 / 0.6673 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1729, allocations: 4 kB / 0.6673 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.173, allocations: 7.984 kB / 0.6673 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.136e-05/0.173, allocations: 15.98 kB / 0.6673 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.1734, allocations: 248.9 kB / 0.6675 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.1736, allocations: 46.69 kB / 0.6676 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.696e-05/0.1736, allocations: 16.86 kB / 0.6676 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.1736, allocations: 7.938 kB / 0.6676 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.1737, allocations: 34.55 kB / 0.6676 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.051e-06/0.1737, allocations: 0 / 0.6676 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001882/0.1739, allocations: 57.69 kB / 0.6677 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.1739, allocations: 51.41 kB / 0.6677 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.557e-05/0.174, allocations: 105.7 kB / 0.6678 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.174, allocations: 25.7 kB / 0.6679 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.1741, allocations: 84.05 kB / 0.6679 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.267e-05/0.1741, allocations: 15.89 kB / 0.668 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.1742, allocations: 17.72 kB / 0.668 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1743, allocations: 318.8 kB / 0.6683 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.1743, allocations: 7.938 kB / 0.6683 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.336e-05/0.1743, allocations: 25.7 kB / 0.6683 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.862e-05/0.1744, allocations: 25.72 kB / 0.6683 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1744, allocations: 4 kB / 0.6683 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.476e-05/0.1745, allocations: 61.53 kB / 0.6684 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1745, allocations: 8 kB / 0.6684 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1745, allocations: 0 / 0.6684 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1746, allocations: 0 / 0.6684 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.387e-05/0.1746, allocations: 11.98 kB / 0.6684 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.1746, allocations: 0 / 0.6684 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.1747, allocations: 0 / 0.6684 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.1747, allocations: 7.984 kB / 0.6684 GB, free: 1.684 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.254e-05/0.1748, allocations: 117.8 kB / 0.6685 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.1748, allocations: 4 kB / 0.6685 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.1749, allocations: 61.11 kB / 0.6686 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.175, allocations: 480 / 0.6686 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.175, allocations: 4 kB / 0.6686 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.175, allocations: 3.938 kB / 0.6686 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.1751, allocations: 165.5 kB / 0.6688 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1751, allocations: 0 / 0.6688 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.1752, allocations: 8 kB / 0.6688 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1752, allocations: 7.984 kB / 0.6688 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1752, allocations: 0 / 0.6688 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1752, allocations: 128 / 0.6688 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1752, allocations: 4 kB / 0.6688 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.1754, allocations: 159.3 kB / 0.6689 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.1754, allocations: 77.11 kB / 0.669 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.1754, allocations: 7.984 kB / 0.669 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.895e-05/0.1755, allocations: 4 kB / 0.669 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.1755, allocations: 4 kB / 0.669 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.1755, allocations: 0 / 0.669 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.314e-05/0.1756, allocations: 79.28 kB / 0.6691 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1756, allocations: 0 / 0.6691 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002435/0.1758, allocations: 20 kB / 0.6691 GB, free: 0.8633 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.0004962/0.1763, allocations: 0.7097 MB / 0.6698 GB, free: 128 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.1764, allocations: 23.98 kB / 0.6698 GB, free: 104 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1764, allocations: 0 / 0.6698 GB, free: 104 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.988e-05/0.1765, allocations: 8 kB / 0.6698 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.1767, allocations: 9.812 kB / 0.6698 GB, free: 88 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/0.1772, allocations: 172 kB / 0.67 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.1775, allocations: 0.6729 MB / 0.6707 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.516e-05/0.1775, allocations: 12.05 kB / 0.6707 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.1776, allocations: 11.44 kB / 0.6707 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1776, allocations: 0 / 0.6707 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.1964, allocations: 1.376 MB / 0.672 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/7.705, allocations: 4.438 kB / 0.672 GB, free: 13.89 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)