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.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.001268/0.001268, allocations: 78.02 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001585/0.001585, allocations: 170.7 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.437/1.437, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.2/1.2, allocations: 154.6 MB / 413.8 MB, free: 5.195 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6186 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.354e-05, allocations: 6.094 kB / 0.6186 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002628/0.002662, allocations: 1.295 MB / 0.6198 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.003783, allocations: 0.5215 MB / 0.6204 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.003805, allocations: 0 / 0.6204 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.003823, allocations: 7.938 kB / 0.6204 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.21e-05/0.003885, allocations: 3.938 kB / 0.6204 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005816/0.004467, allocations: 147.2 kB / 0.6205 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.04e-05/0.004547, allocations: 31.84 kB / 0.6205 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.34e-05/0.004601, allocations: 0 / 0.6205 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.464e-05/0.004645, allocations: 15.98 kB / 0.6206 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.213e-05/0.004707, allocations: 4 kB / 0.6206 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.004723, allocations: 0 / 0.6206 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004507/0.005174, allocations: 271.4 kB / 0.6208 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.005191, allocations: 4 kB / 0.6208 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.005215, allocations: 7.922 kB / 0.6208 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.005507, allocations: 155.5 kB / 0.621 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.00551, allocations: 4 kB / 0.621 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.32e-07/0.005511, allocations: 0 / 0.621 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.005515, allocations: 0 / 0.621 GB, free: 2.094 MB / 0.5294 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.0004814/0.005997, allocations: 289.9 kB / 0.6213 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.006038, allocations: 11.97 kB / 0.6213 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.006069, allocations: 4.938 kB / 0.6213 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.00619, allocations: 117.8 kB / 0.6214 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.006203, allocations: 384 / 0.6214 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.006216, allocations: 4.375 kB / 0.6214 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.006341, allocations: 38.2 kB / 0.6214 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.006351, allocations: 4.188 kB / 0.6214 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.006365, allocations: 4.359 kB / 0.6214 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.006376, allocations: 384 / 0.6214 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.799e-05/0.006434, allocations: 15.94 kB / 0.6215 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.006785, allocations: 200.5 kB / 0.6216 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.007022, allocations: 46.69 kB / 0.6217 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.642e-05/0.007058, allocations: 16.86 kB / 0.6217 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.00709, allocations: 7.938 kB / 0.6217 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.643e-05/0.007177, allocations: 30.56 kB / 0.6217 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.007178, allocations: 0 / 0.6217 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001907/0.007368, allocations: 61.62 kB / 0.6218 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.007416, allocations: 55.39 kB / 0.6219 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.00758, allocations: 93.86 kB / 0.6219 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.007599, allocations: 25.7 kB / 0.622 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.007657, allocations: 88.09 kB / 0.6221 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.007676, allocations: 15.84 kB / 0.6221 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.007714, allocations: 25.7 kB / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.007885, allocations: 310.8 kB / 0.6224 GB, free: 500 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.695e-05/0.007912, allocations: 11.94 kB / 0.6224 GB, free: 488 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.389e-05/0.007946, allocations: 21.7 kB / 0.6224 GB, free: 460 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.516e-05/0.008001, allocations: 30.09 kB / 0.6224 GB, free: 424 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.008002, allocations: 0 / 0.6224 GB, free: 424 kB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001012/0.008104, allocations: 57.67 kB / 0.6225 GB, free: 360 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.00812, allocations: 11.94 kB / 0.6225 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.008128, allocations: 7.922 kB / 0.6225 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.008144, allocations: 4.031 kB / 0.6225 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.71e-05/0.008191, allocations: 8 kB / 0.6225 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/0.008209, allocations: 3.984 kB / 0.6225 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.008233, allocations: 0 / 0.6225 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.008239, allocations: 4 kB / 0.6225 GB, free: 320 kB / 0.5294 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 9.23e-05/0.008331, allocations: 106.8 kB / 0.6226 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.008356, allocations: 4 kB / 0.6226 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.008519, allocations: 73.2 kB / 0.6227 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.008521, allocations: 0 / 0.6227 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.008525, allocations: 0 / 0.6227 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.008532, allocations: 7.984 kB / 0.6227 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.008692, allocations: 105.3 kB / 0.6228 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.008693, allocations: 0 / 0.6228 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.008729, allocations: 8.125 kB / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.008733, allocations: 4 kB / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.00874, allocations: 0 / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.008744, allocations: 3.938 kB / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.008746, allocations: 3.984 kB / 0.6228 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.008895, allocations: 151.5 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-06/0.0089, allocations: 0 / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.008912, allocations: 0 / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.851e-05/0.008961, allocations: 7.938 kB / 0.623 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.859e-05/0.00898, allocations: 4 kB / 0.623 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.008982, allocations: 0 / 0.623 GB, free: 15.78 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.736e-05/0.00903, allocations: 83.27 kB / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.00903, allocations: 0 / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002428/0.009273, allocations: 23.88 kB / 0.6231 GB, free: 15.67 MB / 0.545 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.0002124/0.009485, allocations: 119.2 kB / 0.6232 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.009589, allocations: 23.92 kB / 0.6232 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.009591, allocations: 0 / 0.6232 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.933e-05/0.00961, allocations: 12.06 kB / 0.6232 GB, free: 15.51 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.009828, allocations: 4 kB / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.01018, allocations: 124.7 kB / 0.6234 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.583e-05/0.01024, allocations: 59.34 kB / 0.6234 GB, free: 15.28 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.83e-05/0.01027, allocations: 4 kB / 0.6234 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.01029, allocations: 12.5 kB / 0.6234 GB, free: 15.26 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.01029, allocations: 0 / 0.6234 GB, free: 15.26 MB / 0.545 GB Notification: Performance of Templates: time 0.003115/0.01341, allocations: 0.5115 MB / 0.6239 GB, free: 14.76 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.810969017446041] Failed to read output from testmodel.py, exit status != 0: 0.02203962579369545 0.036806576 0.028159898000000003 Calling exit ...