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.00145/0.00145, allocations: 93.06 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.001364/0.001364, 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.094/1.094, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.7849/0.7849, allocations: 154.9 MB / 414.8 MB, free: 396 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.483e-06/1.483e-06, allocations: 0 / 0.5207 GB, free: 1.855 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.586e-05, allocations: 3.078 kB / 0.5207 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002121/0.002146, allocations: 1.299 MB / 0.5219 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007951/0.002942, allocations: 0.5598 MB / 0.5225 GB, free: 4 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.792e-05/0.002969, allocations: 0.75 kB / 0.5225 GB, free: 4 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.369e-05/0.002993, allocations: 0 / 0.5225 GB, free: 4 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.13e-05/0.003044, allocations: 7.094 kB / 0.5225 GB, free: 0 / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005406/0.003585, allocations: 139.3 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.658e-05/0.003642, allocations: 15.92 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.003681, allocations: 7.984 kB / 0.5227 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.146e-05/0.003712, allocations: 0 / 0.5227 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.365e-05/0.003756, allocations: 4 kB / 0.5227 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.003771, allocations: 0.9375 kB / 0.5227 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003358/0.004107, allocations: 271.4 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.004124, allocations: 4 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.004143, allocations: 0.5 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.004357, allocations: 156 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.004359, allocations: 0.9375 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.31e-07/0.00436, allocations: 0 / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.004365, allocations: 0 / 0.5231 GB, free: 15.41 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.0003688/0.004734, allocations: 373.6 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.004774, allocations: 8.031 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.004815, allocations: 4.938 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.276e-05/0.004908, allocations: 108.6 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.004919, allocations: 1.344 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.004928, allocations: 4.375 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.079e-05/0.005009, allocations: 36.3 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.005017, allocations: 192 / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.005026, allocations: 384 / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.005034, allocations: 4.375 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.924e-05/0.005053, allocations: 7.938 kB / 0.5236 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.005178, allocations: 113.7 kB / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.827e-05/0.005226, allocations: 27.09 kB / 0.5237 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.005245, allocations: 16.47 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.005263, allocations: 0.5 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.005288, allocations: 37.33 kB / 0.5238 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.005289, allocations: 4.719 kB / 0.5238 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001366/0.005426, allocations: 47.08 kB / 0.5238 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.005457, allocations: 55.41 kB / 0.5239 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.149e-05/0.005528, allocations: 153.9 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.00554, allocations: 30.48 kB / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.00557, allocations: 126.9 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.005595, allocations: 8.672 kB / 0.5242 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.005624, allocations: 27.36 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.00573, allocations: 495.2 kB / 0.5247 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.184e-05/0.005742, allocations: 0 / 0.5247 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-06/0.005751, allocations: 7.938 kB / 0.5247 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.394e-05/0.005784, allocations: 15.69 kB / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.005786, allocations: 0 / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.18e-05/0.005838, allocations: 37.69 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.00585, allocations: 4 kB / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.005857, allocations: 5.469 kB / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.005869, allocations: 0 / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.00601, allocations: 11.98 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003429/0.006353, allocations: 0.9076 MB / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/0.00637, allocations: 0 / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.006375, allocations: 0 / 0.5257 GB, free: 12.55 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.797e-05/0.006443, allocations: 156.6 kB / 0.5258 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-06/0.00645, allocations: 7.938 kB / 0.5258 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.64e-05/0.006546, allocations: 43.19 kB / 0.5259 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.006549, allocations: 0 / 0.5259 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.006553, allocations: 0 / 0.5259 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.006555, allocations: 0 / 0.5259 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.554e-05/0.006621, allocations: 112.6 kB / 0.526 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006622, allocations: 0 / 0.526 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.492e-05/0.006677, allocations: 16.8 kB / 0.526 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.006679, allocations: 0 / 0.526 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.006686, allocations: 4.719 kB / 0.526 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002802/0.006966, allocations: 0.8943 MB / 0.5269 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.006967, allocations: 0 / 0.5269 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.641e-05/0.007024, allocations: 85.53 kB / 0.5269 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-06/0.00703, allocations: 0 / 0.5269 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-06/0.00704, allocations: 3.938 kB / 0.5269 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-06/0.007049, allocations: 4.625 kB / 0.5269 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.007065, allocations: 0 / 0.5269 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.007068, allocations: 0.6562 kB / 0.5269 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.545e-05/0.007103, allocations: 126.6 kB / 0.5271 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.2e-07/0.007104, allocations: 4 kB / 0.5271 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001297/0.007233, allocations: 7.938 kB / 0.5271 GB, free: 11 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.0001652/0.007398, allocations: 111.2 kB / 0.5272 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001515/0.00755, allocations: 23.67 kB / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.007551, allocations: 0 / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.302e-05/0.007584, allocations: 22.62 kB / 0.5272 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.007704, allocations: 13.86 kB / 0.5272 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.008, allocations: 106.3 kB / 0.5273 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.474e-05/0.008035, allocations: 59.34 kB / 0.5274 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.641e-05/0.008052, allocations: 1.719 kB / 0.5274 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.688e-05/0.008068, allocations: 8.5 kB / 0.5274 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/0.008069, allocations: 0 / 0.5274 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.002776/0.01085, allocations: 0.5199 MB / 0.5279 GB, free: 10.14 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.92057895520702]