Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001175/0.001175, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009913/0.0009913, allocations: 173 kB / 23.49 MB, free: 1.055 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.02/1.02, allocations: 177.1 MB / 203.8 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.8217/0.8217, 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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5206 GB, free: 2.312 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.589e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.309 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00175/0.001776, allocations: 1.295 MB / 0.5218 GB, free: 1.027 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007451/0.002521, allocations: 0.5562 MB / 0.5224 GB, free: 484 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.002548, allocations: 1.812 kB / 0.5224 GB, free: 484 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.002567, allocations: 0 / 0.5224 GB, free: 484 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.185e-05/0.002609, allocations: 3.938 kB / 0.5224 GB, free: 480 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.003026, allocations: 140.8 kB / 0.5225 GB, free: 340 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.259e-05/0.003079, allocations: 11.94 kB / 0.5225 GB, free: 328 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.003117, allocations: 4 kB / 0.5225 GB, free: 324 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.264e-05/0.00315, allocations: 13.2 kB / 0.5226 GB, free: 312 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.003192, allocations: 3.984 kB / 0.5226 GB, free: 308 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.003205, allocations: 0 / 0.5226 GB, free: 308 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002861/0.003491, allocations: 268.1 kB / 0.5228 GB, free: 40 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.003506, allocations: 3.984 kB / 0.5228 GB, free: 36 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.647e-05/0.003522, allocations: 0.6875 kB / 0.5228 GB, free: 36 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.003721, allocations: 147.5 kB / 0.523 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.003723, allocations: 1.344 kB / 0.523 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.92e-07/0.003724, allocations: 3.938 kB / 0.523 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.003727, allocations: 0 / 0.523 GB, free: 15.89 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003177/0.004045, allocations: 377 kB / 0.5233 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.004082, allocations: 12.03 kB / 0.5233 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.004117, allocations: 0.9375 kB / 0.5233 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.354e-05/0.004201, allocations: 108.5 kB / 0.5234 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.004213, allocations: 4.375 kB / 0.5234 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.00422, allocations: 384 / 0.5234 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.912e-05/0.0043, allocations: 38.27 kB / 0.5235 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.004306, allocations: 192 / 0.5235 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.004315, allocations: 4.359 kB / 0.5235 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.004322, allocations: 384 / 0.5235 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.558e-05/0.004338, allocations: 3.938 kB / 0.5235 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/0.004453, allocations: 120.5 kB / 0.5236 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.18e-05/0.004495, allocations: 31.66 kB / 0.5236 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.617e-05/0.004511, allocations: 12.31 kB / 0.5236 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.004527, allocations: 0.5625 kB / 0.5236 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.004548, allocations: 38.34 kB / 0.5237 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.004548, allocations: 4 kB / 0.5237 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001189/0.004667, allocations: 43.11 kB / 0.5237 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.004697, allocations: 51.41 kB / 0.5238 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.004764, allocations: 157.9 kB / 0.5239 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.617e-06/0.004772, allocations: 30.41 kB / 0.524 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.063e-05/0.004803, allocations: 126.9 kB / 0.5241 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.004825, allocations: 8.453 kB / 0.5241 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.004849, allocations: 25.34 kB / 0.5241 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.004949, allocations: 492.1 kB / 0.5246 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-06/0.004959, allocations: 7.938 kB / 0.5246 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-06/0.004965, allocations: 0 / 0.5246 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.315e-05/0.004988, allocations: 15.69 kB / 0.5246 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.00499, allocations: 1.875 kB / 0.5246 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.215e-05/0.005032, allocations: 41.62 kB / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.005043, allocations: 8 kB / 0.5246 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.005047, allocations: 0 / 0.5246 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.005059, allocations: 2.75 kB / 0.5247 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.005186, allocations: 11.98 kB / 0.5247 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003118/0.005498, allocations: 0.8932 MB / 0.5255 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.188e-05/0.00551, allocations: 0 / 0.5255 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.005515, allocations: 4 kB / 0.5255 GB, free: 13.03 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.216e-05/0.005577, allocations: 162.4 kB / 0.5257 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-06/0.005582, allocations: 3.938 kB / 0.5257 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.81e-05/0.00566, allocations: 48.94 kB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.005662, allocations: 3.984 kB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.005665, allocations: 0.9375 kB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.005668, allocations: 0 / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.472e-05/0.005723, allocations: 113.4 kB / 0.5259 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.005724, allocations: 0 / 0.5259 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.00577, allocations: 8.656 kB / 0.5259 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.005773, allocations: 0 / 0.5259 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.005779, allocations: 4.5 kB / 0.5259 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002369/0.006016, allocations: 0.9039 MB / 0.5268 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.006018, allocations: 4 kB / 0.5268 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.762e-05/0.006065, allocations: 72.39 kB / 0.5268 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.006071, allocations: 0 / 0.5268 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.006082, allocations: 7.984 kB / 0.5268 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.841e-06/0.006088, allocations: 0 / 0.5268 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/0.006102, allocations: 0 / 0.5268 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-06/0.006103, allocations: 3.125 kB / 0.5268 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.176e-05/0.006135, allocations: 123.2 kB / 0.527 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006135, allocations: 0 / 0.527 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001261/0.006261, allocations: 11.94 kB / 0.527 GB, free: 11.47 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001228/0.006384, allocations: 107.2 kB / 0.5271 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.006502, allocations: 33.36 kB / 0.5271 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.006503, allocations: 0 / 0.5271 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.722e-05/0.006541, allocations: 23.67 kB / 0.5271 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001013/0.006642, allocations: 7.562 kB / 0.5271 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002557/0.006898, allocations: 110.3 kB / 0.5272 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.635e-05/0.006924, allocations: 55.36 kB / 0.5273 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.386e-05/0.006938, allocations: 3.938 kB / 0.5273 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.334e-05/0.006951, allocations: 12.31 kB / 0.5273 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.006952, allocations: 0 / 0.5273 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.002006/0.008957, allocations: 487.2 kB / 0.5278 GB, free: 10.64 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.927610425045714]