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.001279/0.001279, allocations: 85.27 kB / 19.87 MB, free: 4.617 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.001529/0.001529, allocations: 165 kB / 23.27 MB, free: 1.219 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.065/1.065, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.7952/0.7952, allocations: 154.9 MB / 415.1 MB, free: 248 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.613e-06/1.613e-06, allocations: 0 / 0.5211 GB, free: 1.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.191e-05, allocations: 6.312 kB / 0.5211 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001788/0.00181, allocations: 1.29 MB / 0.5224 GB, free: 232 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007473/0.002557, allocations: 0.5504 MB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.843e-05/0.002585, allocations: 1.219 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.002601, allocations: 0 / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.966e-05/0.00264, allocations: 0 / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.003097, allocations: 149.6 kB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 3.802e-05/0.003135, allocations: 11.92 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.339e-05/0.003169, allocations: 4 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 2.798e-05/0.003197, allocations: 4 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.849e-05/0.003235, allocations: 9.703 kB / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.003248, allocations: 0 / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003139/0.003561, allocations: 267.4 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.003576, allocations: 4 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.257e-05/0.003588, allocations: 1.375 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.003783, allocations: 155.5 kB / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.003787, allocations: 0 / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003788, allocations: 0 / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.003793, allocations: 0.5312 kB / 0.5235 GB, free: 15.09 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.0002748/0.004068, allocations: 368.8 kB / 0.5239 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.004105, allocations: 8.031 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.036e-05/0.004126, allocations: 6.406 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.657e-05/0.004192, allocations: 112.6 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.0042, allocations: 384 / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-06/0.004206, allocations: 4.375 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.568e-05/0.004262, allocations: 27.61 kB / 0.524 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.004268, allocations: 192 / 0.524 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-06/0.004273, allocations: 4.375 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.004277, allocations: 3.875 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.009e-05/0.004287, allocations: 7.875 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.143e-05/0.004378, allocations: 97.59 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.561e-05/0.004414, allocations: 35.08 kB / 0.5242 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.029e-05/0.004424, allocations: 7.688 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.004442, allocations: 8 kB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.00446, allocations: 37.39 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.004461, allocations: 0 / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 8.682e-05/0.004548, allocations: 46.14 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.004573, allocations: 51.97 kB / 0.5243 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.004855, allocations: 154.9 kB / 0.5244 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.004863, allocations: 25.7 kB / 0.5245 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.596e-05/0.004899, allocations: 132.3 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.004923, allocations: 11.89 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.004947, allocations: 15.38 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.005065, allocations: 0.4961 MB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.841e-06/0.005071, allocations: 1.531 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-06/0.005078, allocations: 4 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.081e-05/0.005099, allocations: 11.69 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.0051, allocations: 10.38 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.456e-05/0.005144, allocations: 37.7 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.005156, allocations: 4 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.005161, allocations: 3.984 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.00517, allocations: 0 / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.158e-05/0.005262, allocations: 8 kB / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003249/0.005587, allocations: 0.8959 MB / 0.5261 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.322e-05/0.0056, allocations: 3.984 kB / 0.5261 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-06/0.005603, allocations: 0 / 0.5261 GB, free: 12.26 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.5e-05/0.005668, allocations: 164.6 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-06/0.005674, allocations: 0 / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.212e-05/0.005746, allocations: 42.17 kB / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.005748, allocations: 3.984 kB / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.005749, allocations: 0.9375 kB / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.005753, allocations: 0 / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.764e-05/0.00581, allocations: 97.27 kB / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.005812, allocations: 0.9375 kB / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.005858, allocations: 11.98 kB / 0.5264 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.005861, allocations: 0.6562 kB / 0.5264 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-06/0.005863, allocations: 0 / 0.5264 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000253/0.006116, allocations: 0.902 MB / 0.5273 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.006117, allocations: 2.438 kB / 0.5273 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.835e-05/0.006165, allocations: 80.38 kB / 0.5273 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-06/0.006171, allocations: 3.938 kB / 0.5273 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-06/0.006177, allocations: 0 / 0.5273 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-06/0.006184, allocations: 4 kB / 0.5273 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-06/0.006193, allocations: 0 / 0.5273 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.006196, allocations: 3.125 kB / 0.5273 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.873e-05/0.006224, allocations: 123.1 kB / 0.5275 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006225, allocations: 0 / 0.5275 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001276/0.006352, allocations: 11.94 kB / 0.5275 GB, free: 10.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 (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.0001147/0.006467, allocations: 111.2 kB / 0.5276 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.006571, allocations: 27.3 kB / 0.5276 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006572, allocations: 0 / 0.5276 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.237e-05/0.006605, allocations: 19.67 kB / 0.5276 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001045/0.006709, allocations: 4.562 kB / 0.5276 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.006971, allocations: 122.2 kB / 0.5277 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.091e-05/0.007002, allocations: 51.36 kB / 0.5278 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.313e-05/0.007015, allocations: 7.25 kB / 0.5278 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.007051, allocations: 66.2 kB / 0.5279 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of SimCode: time 7.91e-07/0.007052, allocations: 0 / 0.5279 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.001899/0.008952, allocations: 0.5372 MB / 0.5284 GB, free: 9.797 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.7902952427975833]