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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008812/0.0008812, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008891/0.0008891, allocations: 211.2 kB / 23 MB, free: 2.977 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9544/0.9544, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7872/0.7872, allocations: 203.8 MB / 0.5049 GB, free: 10.47 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009458/0.0009458, allocations: 67.2 kB / 0.7194 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5265/0.5274, allocations: 102 MB / 0.819 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002055/0.5295, allocations: 1.298 MB / 0.8203 GB, free: 428 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007327/0.5302, allocations: 0.5178 MB / 0.8208 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.5302, allocations: 0 / 0.8208 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.216e-05/0.5303, allocations: 0.7031 kB / 0.8208 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.656e-05/0.5303, allocations: 8.594 kB / 0.8208 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005952/0.5309, allocations: 146.9 kB / 0.8209 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.499e-05/0.531, allocations: 19.7 kB / 0.821 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.531, allocations: 3.031 kB / 0.821 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.194e-05/0.531, allocations: 9.125 kB / 0.821 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.059e-05/0.5311, allocations: 5.969 kB / 0.821 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.5311, allocations: 3.875 kB / 0.821 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004146/0.5315, allocations: 268.8 kB / 0.8212 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.5315, allocations: 9.719 kB / 0.8212 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.5316, allocations: 8.469 kB / 0.8213 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.5318, allocations: 146.7 kB / 0.8214 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.5318, allocations: 0 / 0.8214 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5318, allocations: 0 / 0.8214 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.5318, allocations: 0 / 0.8214 GB, free: 15.88 MB / 0.6198 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.0003674/0.5322, allocations: 282.9 kB / 0.8217 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.5322, allocations: 10.5 kB / 0.8217 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.5322, allocations: 4.938 kB / 0.8217 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.861e-05/0.5323, allocations: 113.1 kB / 0.8218 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.5323, allocations: 4.375 kB / 0.8218 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.5323, allocations: 8.312 kB / 0.8218 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.5324, allocations: 41.84 kB / 0.8218 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.5325, allocations: 192 / 0.8218 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.5325, allocations: 4.453 kB / 0.8218 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5325, allocations: 2.844 kB / 0.8218 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.244e-05/0.5325, allocations: 15.11 kB / 0.8219 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002709/0.5328, allocations: 196.8 kB / 0.822 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.533, allocations: 47.55 kB / 0.8221 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.722e-05/0.533, allocations: 14.22 kB / 0.8221 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.533, allocations: 12.14 kB / 0.8221 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.533, allocations: 35.31 kB / 0.8222 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.533, allocations: 0 / 0.8222 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001552/0.5332, allocations: 51.47 kB / 0.8222 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.5332, allocations: 59.03 kB / 0.8223 GB, free: 15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.461e-05/0.5333, allocations: 104.3 kB / 0.8224 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.5333, allocations: 25.7 kB / 0.8224 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.5333, allocations: 86.58 kB / 0.8225 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.139e-05/0.5333, allocations: 14.83 kB / 0.8225 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.5334, allocations: 16.67 kB / 0.8225 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.392e-05/0.5334, allocations: 322.4 kB / 0.8228 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/0.5335, allocations: 5.891 kB / 0.8228 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.454e-05/0.5335, allocations: 20.91 kB / 0.8228 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.059e-05/0.5335, allocations: 31.97 kB / 0.8229 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5335, allocations: 0 / 0.8229 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.825e-05/0.5336, allocations: 58.39 kB / 0.8229 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.5336, allocations: 4.875 kB / 0.8229 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5336, allocations: 1.5 kB / 0.8229 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.5336, allocations: 0.7031 kB / 0.8229 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.157e-05/0.5337, allocations: 11.73 kB / 0.8229 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.5337, allocations: 1.594 kB / 0.8229 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.906e-05/0.5337, allocations: 16.84 kB / 0.823 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.5337, allocations: 3.938 kB / 0.823 GB, free: 14.32 MB / 0.6198 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.458e-05/0.5338, allocations: 108.2 kB / 0.8231 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.5338, allocations: 4.5 kB / 0.8231 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.5339, allocations: 63.59 kB / 0.8231 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5339, allocations: 1.531 kB / 0.8231 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.5339, allocations: 3.938 kB / 0.8231 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.5339, allocations: 4.844 kB / 0.8231 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.499e-05/0.534, allocations: 108.1 kB / 0.8232 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.534, allocations: 0.7969 kB / 0.8232 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.5341, allocations: 10.3 kB / 0.8232 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.5341, allocations: 9.438 kB / 0.8233 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.5341, allocations: 0 / 0.8233 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5341, allocations: 0.7969 kB / 0.8233 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5341, allocations: 1.438 kB / 0.8233 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.759e-05/0.5342, allocations: 146.2 kB / 0.8234 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-06/0.5342, allocations: 7.938 kB / 0.8234 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.5342, allocations: 3.219 kB / 0.8234 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.455e-05/0.5342, allocations: 4 kB / 0.8234 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.5342, allocations: 2.141 kB / 0.8234 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.5342, allocations: 1.094 kB / 0.8234 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.59e-05/0.5342, allocations: 79.03 kB / 0.8235 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5342, allocations: 1.031 kB / 0.8235 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001817/0.5344, allocations: 25.94 kB / 0.8235 GB, free: 13.78 MB / 0.6198 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.0001573/0.5346, allocations: 117.2 kB / 0.8236 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.661e-05/0.5347, allocations: 24.97 kB / 0.8237 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5347, allocations: 0 / 0.8237 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-05/0.5347, allocations: 13.08 kB / 0.8237 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.5349, allocations: 6.375 kB / 0.8237 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.5351, allocations: 163.3 kB / 0.8238 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.564e-05/0.5352, allocations: 62 kB / 0.8239 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/0.5352, allocations: 10.03 kB / 0.8239 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.5352, allocations: 0 / 0.8239 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of Templates: time 0.001938/0.5371, allocations: 0.7042 MB / 0.8246 GB, free: 13.37 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.73139246692881] Failed to read output from testmodel.py, exit status != 0: 0.544114715885371 0.555108688 0.021111289000000002 Calling exit ...