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.0009229/0.0009229, allocations: 69.11 kB / 20.65 MB, free: 3.844 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.0009564/0.0009564, allocations: 173 kB / 24.06 MB, free: 444 kB / 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.035/1.035, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.7902/0.7902, allocations: 154.9 MB / 415.9 MB, free: 252 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.342e-06/1.342e-06, allocations: 0.7656 kB / 0.5219 GB, free: 1.496 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.642e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.492 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001835/0.001851, allocations: 1.298 MB / 0.5232 GB, free: 212 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009019/0.002753, allocations: 0.5459 MB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.002777, allocations: 0.5 kB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.002795, allocations: 0 / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.688e-05/0.002842, allocations: 0.5312 kB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.003223, allocations: 149.8 kB / 0.5238 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 4.377e-05/0.003267, allocations: 7.938 kB / 0.5238 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.389e-05/0.003301, allocations: 0 / 0.5238 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 2.794e-05/0.003329, allocations: 11.97 kB / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.258e-05/0.003371, allocations: 4.562 kB / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.003383, allocations: 0 / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.003693, allocations: 264.3 kB / 0.5241 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.003709, allocations: 3.984 kB / 0.5241 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.604e-05/0.003726, allocations: 13.38 kB / 0.5241 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.003941, allocations: 147.5 kB / 0.5243 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003943, allocations: 0 / 0.5243 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003944, allocations: 0 / 0.5243 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.003948, allocations: 0.7812 kB / 0.5243 GB, free: 15.08 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.000306/0.004254, allocations: 376 kB / 0.5246 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.004287, allocations: 9.156 kB / 0.5246 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.004309, allocations: 4.875 kB / 0.5246 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.131e-05/0.004391, allocations: 108.6 kB / 0.5247 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.004401, allocations: 3.156 kB / 0.5247 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-06/0.004408, allocations: 384 / 0.5247 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.356e-05/0.004471, allocations: 38.25 kB / 0.5248 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.004478, allocations: 192 / 0.5248 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.004484, allocations: 384 / 0.5248 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.004488, allocations: 384 / 0.5248 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.556e-05/0.004504, allocations: 15.86 kB / 0.5248 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.874e-05/0.004603, allocations: 90.2 kB / 0.5249 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.448e-05/0.004647, allocations: 32.38 kB / 0.5249 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/0.004662, allocations: 7.688 kB / 0.5249 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.004674, allocations: 0 / 0.5249 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.004694, allocations: 42.42 kB / 0.525 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.004694, allocations: 0 / 0.525 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 9.479e-05/0.004789, allocations: 46.55 kB / 0.525 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.004815, allocations: 51.41 kB / 0.5251 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.598e-05/0.004881, allocations: 158.9 kB / 0.5252 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.004889, allocations: 25.7 kB / 0.5252 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.004922, allocations: 127.8 kB / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.004945, allocations: 7.891 kB / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.004971, allocations: 32.17 kB / 0.5254 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.005093, allocations: 496.1 kB / 0.5259 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.841e-06/0.005099, allocations: 0 / 0.5259 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-06/0.005106, allocations: 9.219 kB / 0.5259 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.023e-05/0.005126, allocations: 11.69 kB / 0.5259 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.005128, allocations: 0.625 kB / 0.5259 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.341e-05/0.005171, allocations: 43.44 kB / 0.5259 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.00518, allocations: 4 kB / 0.5259 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.005184, allocations: 0 / 0.5259 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.315e-06/0.005192, allocations: 4 kB / 0.5259 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.005301, allocations: 4 kB / 0.5259 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003732/0.005674, allocations: 0.9026 MB / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.005687, allocations: 4 kB / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.005692, allocations: 1.812 kB / 0.5268 GB, free: 12.25 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.809e-05/0.00576, allocations: 156.5 kB / 0.527 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-06/0.005766, allocations: 7.938 kB / 0.527 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.696e-05/0.005833, allocations: 47 kB / 0.527 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.005836, allocations: 4 kB / 0.527 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.005837, allocations: 0 / 0.527 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.00584, allocations: 0 / 0.527 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.744e-05/0.005897, allocations: 89.27 kB / 0.5271 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.0059, allocations: 4 kB / 0.5271 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.005945, allocations: 10.73 kB / 0.5271 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.005947, allocations: 4 kB / 0.5271 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.005951, allocations: 4 kB / 0.5271 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002705/0.006222, allocations: 0.9009 MB / 0.528 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.006222, allocations: 0 / 0.528 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.733e-05/0.00627, allocations: 74.03 kB / 0.5281 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-06/0.006278, allocations: 7.938 kB / 0.5281 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.472e-06/0.006284, allocations: 0 / 0.5281 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.252e-06/0.006291, allocations: 0 / 0.5281 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.029e-05/0.006301, allocations: 0.625 kB / 0.5281 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.006303, allocations: 0 / 0.5281 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.46e-05/0.006337, allocations: 129.4 kB / 0.5282 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006337, allocations: 0 / 0.5282 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001282/0.006466, allocations: 11.94 kB / 0.5282 GB, free: 10.72 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.0001097/0.006575, allocations: 104 kB / 0.5283 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.00668, allocations: 23.67 kB / 0.5284 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.006682, allocations: 0.6562 kB / 0.5284 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.541e-05/0.006717, allocations: 28.42 kB / 0.5284 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.609e-05/0.006813, allocations: 2.812 kB / 0.5284 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002065/0.00702, allocations: 116.5 kB / 0.5285 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.849e-05/0.007048, allocations: 63.28 kB / 0.5286 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.271e-05/0.007061, allocations: 0 / 0.5286 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.007092, allocations: 69.33 kB / 0.5286 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/0.007093, allocations: 0 / 0.5286 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of Templates: time 0.001844/0.008937, allocations: 0.5386 MB / 0.5291 GB, free: 9.781 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.8038787781260908]