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.0009076/0.0009076, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009218/0.0009218, allocations: 169 kB / 23.02 MB, free: 1.547 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.024/1.024, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.8904/0.8904, allocations: 154.8 MB / 414.7 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.215e-06/2.215e-06, allocations: 0 / 0.5206 GB, free: 1.953 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.265e-05, allocations: 7.688 kB / 0.5206 GB, free: 1.949 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002687/0.002719, allocations: 1.331 MB / 0.5219 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.003816, allocations: 0.5585 MB / 0.5224 GB, free: 72 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.683e-05/0.003853, allocations: 0.9688 kB / 0.5224 GB, free: 72 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.00388, allocations: 0 / 0.5224 GB, free: 72 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.477e-05/0.003945, allocations: 8.844 kB / 0.5224 GB, free: 64 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006205/0.004565, allocations: 143.8 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.849e-05/0.004633, allocations: 24.83 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.00468, allocations: 4 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.195e-05/0.004722, allocations: 9.734 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.277e-05/0.004785, allocations: 8 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.004803, allocations: 4 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004525/0.005255, allocations: 271.3 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.005274, allocations: 4 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.005299, allocations: 8.5 kB / 0.5229 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.005585, allocations: 148.1 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.005589, allocations: 0 / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.00559, allocations: 1.031 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.005595, allocations: 0 / 0.523 GB, free: 15.45 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.0004779/0.006073, allocations: 393.1 kB / 0.5234 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.006119, allocations: 8.031 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.006165, allocations: 5.234 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.006275, allocations: 121.2 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.006289, allocations: 384 / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.006304, allocations: 5.75 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.006415, allocations: 38.25 kB / 0.5236 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.006426, allocations: 192 / 0.5236 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.00644, allocations: 8.922 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.006451, allocations: 384 / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.374e-05/0.006494, allocations: 16.58 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.00686, allocations: 253 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.007087, allocations: 51.17 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.751e-05/0.007124, allocations: 16.62 kB / 0.5239 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.00715, allocations: 4 kB / 0.5239 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.007177, allocations: 37.33 kB / 0.5239 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.502e-06/0.007178, allocations: 1.062 kB / 0.5239 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001832/0.007362, allocations: 53.62 kB / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.007397, allocations: 56.09 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.722e-05/0.007484, allocations: 161.9 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.007497, allocations: 26.42 kB / 0.5242 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.007556, allocations: 134.8 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.007571, allocations: 16.66 kB / 0.5244 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.007609, allocations: 23.36 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.00775, allocations: 497.1 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.007769, allocations: 4 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.571e-05/0.007805, allocations: 31.3 kB / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.233e-05/0.007857, allocations: 34.12 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.007859, allocations: 0 / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.622e-05/0.007956, allocations: 57.62 kB / 0.525 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.007973, allocations: 10.28 kB / 0.525 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.007981, allocations: 3.938 kB / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.007999, allocations: 0 / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.943e-05/0.008048, allocations: 9.25 kB / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.008055, allocations: 4.109 kB / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.008079, allocations: 8 kB / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.008085, allocations: 0.5625 kB / 0.525 GB, free: 13.2 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 7.963e-05/0.008164, allocations: 161.1 kB / 0.5252 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.008189, allocations: 4.922 kB / 0.5252 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.008338, allocations: 65.25 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.008341, allocations: 1.781 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.008345, allocations: 0 / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.008349, allocations: 3.984 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.008482, allocations: 112.6 kB / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.008484, allocations: 1.344 kB / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.008519, allocations: 12 kB / 0.5254 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.008522, allocations: 3.984 kB / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.00853, allocations: 0.6875 kB / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.008533, allocations: 3.938 kB / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.008534, allocations: 1.062 kB / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.008666, allocations: 199.9 kB / 0.5256 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.008675, allocations: 7.953 kB / 0.5256 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.008687, allocations: 2.75 kB / 0.5256 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.91e-05/0.008737, allocations: 3.938 kB / 0.5256 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.008756, allocations: 4 kB / 0.5256 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.008761, allocations: 4 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.68e-05/0.008808, allocations: 127.2 kB / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.008808, allocations: 0 / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002949/0.009103, allocations: 15.94 kB / 0.5257 GB, free: 12.41 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.0001994/0.009302, allocations: 117.7 kB / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.009411, allocations: 35.61 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.009413, allocations: 0 / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.022e-05/0.009433, allocations: 15.69 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.009694, allocations: 4 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/0.01003, allocations: 135.8 kB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.01022, allocations: 55.36 kB / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.641e-05/0.01025, allocations: 8.078 kB / 0.5261 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.01028, allocations: 12.5 kB / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of SimCode: time 9.12e-07/0.01028, allocations: 0 / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.003011/0.01329, allocations: 0.5188 MB / 0.5266 GB, free: 11.49 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: 4.0166616276837885]