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.001302/0.001302, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001399/0.001399, allocations: 173 kB / 23.49 MB, free: 1.059 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.013/1.013, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.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-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 0.8197/0.8197, allocations: 154.8 MB / 415.1 MB, free: 496 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 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: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.5206 GB, free: 2.262 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.339e-05, allocations: 5.844 kB / 0.5206 GB, free: 2.258 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001717/0.001741, allocations: 1.334 MB / 0.5219 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000736/0.002477, allocations: 0.5542 MB / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.282e-05/0.002499, allocations: 0 / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.002516, allocations: 3.938 kB / 0.5224 GB, free: 396 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.437e-05/0.002551, allocations: 3.938 kB / 0.5224 GB, free: 392 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.00292, allocations: 148.5 kB / 0.5226 GB, free: 244 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.424e-05/0.002965, allocations: 23.92 kB / 0.5226 GB, free: 220 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.535e-05/0.00299, allocations: 0.8438 kB / 0.5226 GB, free: 220 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.483e-05/0.003015, allocations: 15.86 kB / 0.5226 GB, free: 204 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.309e-05/0.003048, allocations: 8.953 kB / 0.5226 GB, free: 196 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.928e-06/0.003058, allocations: 4 kB / 0.5226 GB, free: 192 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.003343, allocations: 267.4 kB / 0.5229 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.003353, allocations: 0.9688 kB / 0.5229 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.643e-05/0.003369, allocations: 11.98 kB / 0.5229 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.003545, allocations: 152.1 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.003547, allocations: 0 / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.703e-06/0.003548, allocations: 4.969 kB / 0.523 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.003552, allocations: 0 / 0.523 GB, free: 15.76 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.0002945/0.003846, allocations: 380.5 kB / 0.5234 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.003875, allocations: 13.05 kB / 0.5234 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.003904, allocations: 9.234 kB / 0.5234 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.686e-05/0.00398, allocations: 116.5 kB / 0.5235 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.00399, allocations: 5.594 kB / 0.5235 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.403e-06/0.003996, allocations: 4.375 kB / 0.5235 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.813e-05/0.004064, allocations: 38.25 kB / 0.5236 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.00407, allocations: 0.8125 kB / 0.5236 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.004076, allocations: 4.375 kB / 0.5236 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.004083, allocations: 1.906 kB / 0.5236 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.732e-05/0.004111, allocations: 15.92 kB / 0.5236 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.004333, allocations: 251.8 kB / 0.5238 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.004469, allocations: 51.98 kB / 0.5239 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.004491, allocations: 16.72 kB / 0.5239 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.004505, allocations: 7.984 kB / 0.5239 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.004521, allocations: 33.39 kB / 0.5239 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.004522, allocations: 1.094 kB / 0.5239 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001126/0.004634, allocations: 61.56 kB / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.004659, allocations: 51.41 kB / 0.5241 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.495e-05/0.004724, allocations: 158.8 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.004732, allocations: 25.7 kB / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.004775, allocations: 139.3 kB / 0.5244 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.388e-06/0.004784, allocations: 15.91 kB / 0.5244 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.004809, allocations: 20.09 kB / 0.5244 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.00491, allocations: 496.1 kB / 0.5249 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/0.004922, allocations: 8.734 kB / 0.5249 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.96e-05/0.004942, allocations: 19.38 kB / 0.5249 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.582e-05/0.004978, allocations: 36.66 kB / 0.5249 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.004979, allocations: 0 / 0.5249 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.817e-05/0.005037, allocations: 60.97 kB / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.005046, allocations: 4 kB / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.005051, allocations: 8.047 kB / 0.525 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.005063, allocations: 8.031 kB / 0.525 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.052e-05/0.005094, allocations: 11.94 kB / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.005098, allocations: 0 / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.341e-05/0.005111, allocations: 4 kB / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-06/0.005114, allocations: 0 / 0.525 GB, free: 13.52 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 6.3e-05/0.005177, allocations: 158.1 kB / 0.5252 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.005193, allocations: 7.953 kB / 0.5252 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.994e-05/0.005282, allocations: 61.83 kB / 0.5252 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.005284, allocations: 0 / 0.5252 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.005286, allocations: 1.219 kB / 0.5252 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.005289, allocations: 0 / 0.5252 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.654e-05/0.005376, allocations: 116.6 kB / 0.5254 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.005376, allocations: 2.75 kB / 0.5254 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.928e-05/0.005396, allocations: 15.92 kB / 0.5254 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-06/0.005397, allocations: 0 / 0.5254 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-06/0.005401, allocations: 3.938 kB / 0.5254 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.005403, allocations: 3.938 kB / 0.5254 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.005404, allocations: 0 / 0.5254 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.335e-05/0.005487, allocations: 199.9 kB / 0.5256 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-06/0.005495, allocations: 6.391 kB / 0.5256 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-06/0.005503, allocations: 0 / 0.5256 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.514e-05/0.005528, allocations: 3.938 kB / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.005541, allocations: 7.984 kB / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.005543, allocations: 0 / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.126e-05/0.005574, allocations: 127.2 kB / 0.5257 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005574, allocations: 0 / 0.5257 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001497/0.005724, allocations: 16.59 kB / 0.5257 GB, free: 12.73 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.0001144/0.005838, allocations: 120 kB / 0.5258 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.183e-05/0.0059, allocations: 31.67 kB / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.005901, allocations: 0.5312 kB / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.522e-05/0.005917, allocations: 20.48 kB / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.006045, allocations: 3.938 kB / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002058/0.006251, allocations: 130.3 kB / 0.526 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.033e-05/0.006281, allocations: 55.36 kB / 0.5261 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.236e-05/0.006304, allocations: 11.97 kB / 0.5261 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.552e-05/0.006319, allocations: 12.5 kB / 0.5261 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of SimCode: time 4e-07/0.00632, allocations: 0 / 0.5261 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.001875/0.008194, allocations: 0.5149 MB / 0.5266 GB, free: 11.82 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.832193569978699]