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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 111 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8192/0.8192, allocations: 134 MB / 436.6 MB, free: 1.277 MB / 334.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 72.47 kB / 0.6051 GB, free: 15.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1585, allocations: 84.66 MB / 0.6878 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002561/0.161, allocations: 1.292 MB / 0.6891 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.1621, allocations: 0.5998 MB / 0.6896 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.1621, allocations: 0 / 0.6896 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.1622, allocations: 0 / 0.6896 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.006e-05/0.1622, allocations: 11.92 kB / 0.6897 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.1627, allocations: 149.8 kB / 0.6898 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.063e-05/0.1628, allocations: 15.94 kB / 0.6898 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.598e-05/0.1628, allocations: 3.984 kB / 0.6898 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.338e-05/0.1629, allocations: 7.938 kB / 0.6898 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.049e-05/0.1629, allocations: 4 kB / 0.6898 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.1629, allocations: 4 kB / 0.6898 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004882/0.1634, allocations: 343.3 kB / 0.6902 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.1634, allocations: 19.92 kB / 0.6902 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.1634, allocations: 0 / 0.6902 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.1637, allocations: 151.8 kB / 0.6903 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1637, allocations: 0 / 0.6903 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.495e-06/0.1637, allocations: 0 / 0.6903 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.1637, allocations: 0 / 0.6903 GB, free: 8.484 MB / 0.5137 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.0004777/0.1642, allocations: 373.2 kB / 0.6907 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1642, allocations: 8.031 kB / 0.6907 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.333e-05/0.1643, allocations: 34.75 kB / 0.6907 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.409e-05/0.1643, allocations: 4.938 kB / 0.6907 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.1644, allocations: 168.3 kB / 0.6909 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1645, allocations: 4.359 kB / 0.6909 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.1645, allocations: 8.125 kB / 0.6909 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.1646, allocations: 37.7 kB / 0.6909 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1646, allocations: 3.938 kB / 0.6909 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.1646, allocations: 0 / 0.6909 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1646, allocations: 3.984 kB / 0.6909 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.493e-05/0.1646, allocations: 12 kB / 0.691 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.165, allocations: 252.9 kB / 0.6912 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.1652, allocations: 50.62 kB / 0.6912 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.681e-05/0.1652, allocations: 20.83 kB / 0.6913 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.1653, allocations: 4 kB / 0.6913 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1653, allocations: 30.56 kB / 0.6913 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1653, allocations: 4 kB / 0.6913 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0001752/0.1655, allocations: 65.58 kB / 0.6914 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.1655, allocations: 51.41 kB / 0.6914 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.325e-05/0.1656, allocations: 97.84 kB / 0.6915 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1656, allocations: 25.7 kB / 0.6915 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.1657, allocations: 84.14 kB / 0.6916 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.1657, allocations: 15.84 kB / 0.6916 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.1657, allocations: 17.72 kB / 0.6916 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1658, allocations: 322.8 kB / 0.6919 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/0.1659, allocations: 8 kB / 0.692 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.855e-05/0.1659, allocations: 13.72 kB / 0.692 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.293e-05/0.1659, allocations: 33.7 kB / 0.692 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1659, allocations: 0 / 0.692 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.123e-05/0.166, allocations: 61.62 kB / 0.6921 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1661, allocations: 4 kB / 0.6921 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1661, allocations: 4.031 kB / 0.6921 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1661, allocations: 4 kB / 0.6921 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.445e-05/0.1661, allocations: 4 kB / 0.6921 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.1661, allocations: 11.88 kB / 0.6921 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.419e-05/0.1662, allocations: 3.953 kB / 0.6921 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.1662, allocations: 0 / 0.6921 GB, free: 6.434 MB / 0.5137 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.834e-05/0.1662, allocations: 117.8 kB / 0.6922 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.1663, allocations: 0 / 0.6922 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.1664, allocations: 69.16 kB / 0.6923 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1664, allocations: 0 / 0.6923 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1664, allocations: 0 / 0.6923 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1664, allocations: 0 / 0.6923 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.1666, allocations: 165.7 kB / 0.6924 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1666, allocations: 0 / 0.6924 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.672e-05/0.1666, allocations: 7.938 kB / 0.6924 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1666, allocations: 0 / 0.6924 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1667, allocations: 7.984 kB / 0.6924 GB, free: 6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1667, allocations: 0 / 0.6924 GB, free: 6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1667, allocations: 3.938 kB / 0.6924 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.1668, allocations: 155.9 kB / 0.6926 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.1668, allocations: 77.11 kB / 0.6927 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.1669, allocations: 48 / 0.6927 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.858e-05/0.1669, allocations: 3.984 kB / 0.6927 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.1669, allocations: 4 kB / 0.6927 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.1669, allocations: 0 / 0.6927 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.724e-05/0.167, allocations: 87.27 kB / 0.6928 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.167, allocations: 4 kB / 0.6928 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002416/0.1672, allocations: 19.88 kB / 0.6928 GB, free: 5.617 MB / 0.5137 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.000525/0.1677, allocations: 0.7045 MB / 0.6935 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.1678, allocations: 19.98 kB / 0.6935 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1678, allocations: 0 / 0.6935 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.355e-05/0.1679, allocations: 20 kB / 0.6935 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.1681, allocations: 5.391 kB / 0.6935 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004757/0.1685, allocations: 160.1 kB / 0.6937 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.1689, allocations: 0.6768 MB / 0.6943 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.208e-05/0.1689, allocations: 8.188 kB / 0.6943 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.1689, allocations: 11.44 kB / 0.6943 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.1689, allocations: 0 / 0.6943 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.1928, allocations: 1.39 MB / 0.6957 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.699/7.892, allocations: 5.203 kB / 0.6957 GB, free: 2.668 MB / 0.5137 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.23493157979101] Failed to read output from testmodel.py, exit status != 0: 7.956792033743113 7.97807061 7.810407815 Calling exit ...