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.001818/0.001818, allocations: 88.72 kB / 19.44 MB, free: 352 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.002384/0.002384, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 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.458/1.458, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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-535:34: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-535:42: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.223/1.223, allocations: 154.8 MB / 414.3 MB, free: 448 kB / 378.7 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 2.595e-06/2.595e-06, allocations: 0 / 0.5198 GB, free: 2.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.429e-05/5.689e-05, allocations: 5.703 kB / 0.5198 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.003162/0.003219, allocations: 1.299 MB / 0.5211 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.004561, allocations: 0.5249 MB / 0.5216 GB, free: 484 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.437e-05/0.004596, allocations: 0 / 0.5216 GB, free: 484 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.207e-05/0.004628, allocations: 3.984 kB / 0.5216 GB, free: 480 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.39e-05/0.004692, allocations: 3.938 kB / 0.5216 GB, free: 476 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006365/0.005328, allocations: 151.2 kB / 0.5218 GB, free: 328 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.49e-05/0.005403, allocations: 23.86 kB / 0.5218 GB, free: 304 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.005444, allocations: 0 / 0.5218 GB, free: 304 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.431e-05/0.005488, allocations: 12 kB / 0.5218 GB, free: 292 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.735e-05/0.005556, allocations: 7.984 kB / 0.5218 GB, free: 284 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.005571, allocations: 3.938 kB / 0.5218 GB, free: 280 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005075/0.006079, allocations: 271.4 kB / 0.5221 GB, free: 8 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.006095, allocations: 0 / 0.5221 GB, free: 8 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.006127, allocations: 4.562 kB / 0.5221 GB, free: 4 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.006482, allocations: 156.1 kB / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.006491, allocations: 4 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.723e-06/0.006492, allocations: 0.7188 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.006499, allocations: 0 / 0.5222 GB, free: 15.84 MB / 0.4948 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.0005412/0.00704, allocations: 282.6 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.007083, allocations: 9.5 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.007137, allocations: 12.88 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.007273, allocations: 109.7 kB / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.007286, allocations: 384 / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.007297, allocations: 5.312 kB / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.007418, allocations: 42.25 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.007427, allocations: 1.594 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.007436, allocations: 384 / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.007441, allocations: 384 / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.013e-05/0.007501, allocations: 19.92 kB / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.007862, allocations: 197.7 kB / 0.5229 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.008098, allocations: 50.62 kB / 0.5229 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.008144, allocations: 21.66 kB / 0.523 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.00818, allocations: 0 / 0.523 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.00821, allocations: 31.84 kB / 0.523 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.008211, allocations: 0 / 0.523 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0002132/0.008424, allocations: 65.75 kB / 0.5231 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.008479, allocations: 52.75 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.008579, allocations: 101.8 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.008603, allocations: 33.7 kB / 0.5232 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.397e-05/0.008667, allocations: 84.09 kB / 0.5233 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.008684, allocations: 12.62 kB / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.008721, allocations: 17.72 kB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.008901, allocations: 320.7 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.27e-05/0.008924, allocations: 8 kB / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.544e-05/0.008959, allocations: 17.72 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.921e-05/0.009019, allocations: 29.7 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.00902, allocations: 6.844 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001152/0.009135, allocations: 57.69 kB / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.009148, allocations: 4 kB / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.009158, allocations: 7.938 kB / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.009176, allocations: 0 / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.233e-05/0.009228, allocations: 11.94 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.009233, allocations: 0 / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.009256, allocations: 2.75 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.009265, allocations: 4 kB / 0.5238 GB, free: 14.09 MB / 0.4948 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 0.000104/0.009369, allocations: 109.8 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.009399, allocations: 15.88 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.009567, allocations: 61.31 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.009569, allocations: 0 / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.009573, allocations: 0.6875 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.009576, allocations: 128 / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.009742, allocations: 110.5 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.009743, allocations: 0 / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.395e-05/0.009787, allocations: 11.94 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.009789, allocations: 0.7188 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.009796, allocations: 0 / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.0098, allocations: 4.438 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.009801, allocations: 0.9375 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.009962, allocations: 147.5 kB / 0.5242 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.009978, allocations: 0 / 0.5242 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.009993, allocations: 5.203 kB / 0.5242 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.468e-05/0.01005, allocations: 3.938 kB / 0.5242 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/0.01007, allocations: 8 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.01007, allocations: 1.656 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.736e-05/0.01013, allocations: 79.61 kB / 0.5243 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01013, allocations: 0 / 0.5243 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002654/0.01039, allocations: 23.86 kB / 0.5244 GB, free: 13.45 MB / 0.4948 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.000255/0.01065, allocations: 121.5 kB / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.01076, allocations: 20.12 kB / 0.5245 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01077, allocations: 0 / 0.5245 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.502e-05/0.01079, allocations: 12.09 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.01104, allocations: 8.031 kB / 0.5245 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.01145, allocations: 139 kB / 0.5246 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.973e-05/0.01153, allocations: 59.34 kB / 0.5247 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.57e-05/0.01157, allocations: 8.922 kB / 0.5247 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.0116, allocations: 12.5 kB / 0.5247 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of SimCode: time 4.2e-07/0.01161, allocations: 1.031 kB / 0.5247 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of Templates: time 0.003196/0.0148, allocations: 0.5088 MB / 0.5252 GB, free: 12.55 MB / 0.4948 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.675420279032551]