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.001365/0.001365, allocations: 80.69 kB / 19.18 MB, free: 2.516 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.001501/0.001501, allocations: 162.8 kB / 22.46 MB, free: 5.375 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.448/1.448, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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 1.289/1.289, allocations: 154.5 MB / 413.7 MB, free: 5.277 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 0.6185 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.085e-05, allocations: 9.062 kB / 0.6185 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002431/0.002461, allocations: 1.299 MB / 0.6198 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.003514, allocations: 0.5214 MB / 0.6203 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.994e-05/0.003543, allocations: 0 / 0.6203 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.003565, allocations: 0 / 0.6203 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.232e-05/0.003618, allocations: 19.86 kB / 0.6203 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.004173, allocations: 138.1 kB / 0.6205 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.949e-05/0.004242, allocations: 23.86 kB / 0.6205 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.369e-05/0.004296, allocations: 7.984 kB / 0.6205 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.395e-05/0.00433, allocations: 7.984 kB / 0.6205 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.54e-05/0.004385, allocations: 4 kB / 0.6205 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.004402, allocations: 4 kB / 0.6205 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004362/0.004838, allocations: 271.4 kB / 0.6208 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.004852, allocations: 4 kB / 0.6208 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.004877, allocations: 11.92 kB / 0.6208 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.005175, allocations: 155.6 kB / 0.6209 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.005178, allocations: 0 / 0.6209 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.32e-07/0.005179, allocations: 0 / 0.6209 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.005187, allocations: 0 / 0.6209 GB, free: 2.211 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.0004558/0.005643, allocations: 289.9 kB / 0.6212 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.005684, allocations: 13.47 kB / 0.6212 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.005712, allocations: 0.9375 kB / 0.6212 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.005824, allocations: 113.7 kB / 0.6213 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.005836, allocations: 384 / 0.6213 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.005848, allocations: 4.375 kB / 0.6213 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.005956, allocations: 42.25 kB / 0.6214 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.005966, allocations: 192 / 0.6214 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.005978, allocations: 8.375 kB / 0.6214 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.005982, allocations: 384 / 0.6214 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.654e-05/0.006029, allocations: 19.88 kB / 0.6214 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.006336, allocations: 204.6 kB / 0.6216 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.006541, allocations: 42.56 kB / 0.6216 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.006576, allocations: 16.86 kB / 0.6216 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.006593, allocations: 4 kB / 0.6216 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.006623, allocations: 38.55 kB / 0.6217 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 2.775e-06/0.006626, allocations: 3.984 kB / 0.6217 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001758/0.006802, allocations: 61.56 kB / 0.6217 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.006839, allocations: 55.41 kB / 0.6218 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.739e-05/0.006927, allocations: 97.86 kB / 0.6219 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.006943, allocations: 25.7 kB / 0.6219 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.006994, allocations: 84.09 kB / 0.622 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.00701, allocations: 15.83 kB / 0.622 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.007043, allocations: 17.72 kB / 0.622 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.007178, allocations: 318.8 kB / 0.6223 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.128e-05/0.007199, allocations: 8 kB / 0.6223 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.108e-05/0.00723, allocations: 21.7 kB / 0.6224 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.121e-05/0.007291, allocations: 29.66 kB / 0.6224 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.007293, allocations: 0 / 0.6224 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.265e-05/0.007386, allocations: 57.69 kB / 0.6224 GB, free: 476 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.007399, allocations: 7.938 kB / 0.6225 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.007405, allocations: 3.938 kB / 0.6225 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.007419, allocations: 4 kB / 0.6225 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.94e-05/0.007468, allocations: 11.98 kB / 0.6225 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.007472, allocations: 7.969 kB / 0.6225 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.246e-05/0.007495, allocations: 0 / 0.6225 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.007502, allocations: 4 kB / 0.6225 GB, free: 436 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 8.038e-05/0.007582, allocations: 110.8 kB / 0.6226 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.007606, allocations: 0 / 0.6226 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.007753, allocations: 73.23 kB / 0.6227 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.007755, allocations: 0 / 0.6227 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.00776, allocations: 4 kB / 0.6227 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.007764, allocations: 0 / 0.6227 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.007895, allocations: 105.3 kB / 0.6228 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.007896, allocations: 0 / 0.6228 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.007929, allocations: 4 kB / 0.6228 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.007932, allocations: 7.938 kB / 0.6228 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.00794, allocations: 3.984 kB / 0.6228 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.007943, allocations: 3.938 kB / 0.6228 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.007944, allocations: 0 / 0.6228 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.008085, allocations: 143.7 kB / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-06/0.008093, allocations: 4.516 kB / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.008105, allocations: 7.938 kB / 0.6229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.963e-05/0.008155, allocations: 3.938 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/0.008173, allocations: 4 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.008178, allocations: 4 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.38e-05/0.008222, allocations: 87.25 kB / 0.623 GB, free: 15.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.008222, allocations: 0 / 0.623 GB, free: 15.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002444/0.008467, allocations: 23.88 kB / 0.623 GB, free: 15.78 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.0002049/0.008672, allocations: 115.2 kB / 0.6232 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.833e-05/0.00877, allocations: 31.92 kB / 0.6232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.008772, allocations: 0 / 0.6232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.033e-05/0.008792, allocations: 12 kB / 0.6232 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.008999, allocations: 5.938 kB / 0.6232 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.009316, allocations: 128.6 kB / 0.6233 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.114e-05/0.009377, allocations: 59.36 kB / 0.6234 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.148e-05/0.009409, allocations: 3.984 kB / 0.6234 GB, free: 15.37 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.009433, allocations: 12.5 kB / 0.6234 GB, free: 15.36 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.009434, allocations: 4 kB / 0.6234 GB, free: 15.36 MB / 0.545 GB Notification: Performance of Templates: time 0.002866/0.0123, allocations: 0.4974 MB / 0.6239 GB, free: 14.87 MB / 0.545 GB " [Timeout remaining time 660] 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.820901185274124] Failed to read output from testmodel.py, exit status != 0: 0.020549651235342026 0.033857955 0.025856177 Calling exit ...