Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.002571/0.002571, allocations: 88.16 kB / 19.44 MB, free: 188 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.003062/0.003062, allocations: 165.3 kB / 22.77 MB, free: 1.512 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.721/1.721, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.331/1.331, allocations: 154.6 MB / 414.1 MB, free: 0.6445 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.5196 GB, free: 2.566 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.6e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002771/0.002797, allocations: 1.291 MB / 0.5209 GB, free: 1.281 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.004129, allocations: 0.5799 MB / 0.5215 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.00416, allocations: 0 / 0.5215 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.004179, allocations: 0 / 0.5215 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.966e-05/0.004228, allocations: 1.125 kB / 0.5215 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007659/0.004994, allocations: 151.8 kB / 0.5216 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.608e-05/0.00507, allocations: 19.92 kB / 0.5216 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.005108, allocations: 1.375 kB / 0.5216 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.023e-05/0.005178, allocations: 19.91 kB / 0.5216 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.381e-05/0.005222, allocations: 4 kB / 0.5216 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.005238, allocations: 4.562 kB / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005141/0.005753, allocations: 271.4 kB / 0.5219 GB, free: 248 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.005767, allocations: 0.6562 kB / 0.5219 GB, free: 248 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.005791, allocations: 5.25 kB / 0.5219 GB, free: 244 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000353/0.006144, allocations: 159.5 kB / 0.5221 GB, free: 84 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.006147, allocations: 0 / 0.5221 GB, free: 84 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.006148, allocations: 0 / 0.5221 GB, free: 84 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.006153, allocations: 4.875 kB / 0.5221 GB, free: 80 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006033/0.006757, allocations: 384 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.006795, allocations: 9.156 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/0.006851, allocations: 8.891 kB / 0.5225 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.006985, allocations: 104.6 kB / 0.5226 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.006999, allocations: 1.125 kB / 0.5226 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.007022, allocations: 12.31 kB / 0.5226 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.007166, allocations: 64.67 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.007176, allocations: 192 / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.007187, allocations: 5.125 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.007191, allocations: 384 / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.256e-05/0.007244, allocations: 16.86 kB / 0.5226 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/0.007458, allocations: 116.6 kB / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.007693, allocations: 53.72 kB / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.606e-05/0.007739, allocations: 23.77 kB / 0.5228 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.007759, allocations: 3.938 kB / 0.5228 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.007797, allocations: 37.39 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.007798, allocations: 0 / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0007806/0.008579, allocations: 249.6 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.008633, allocations: 60.66 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.008757, allocations: 157.9 kB / 0.5233 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.008777, allocations: 29.7 kB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.204e-05/0.008849, allocations: 126.9 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.008892, allocations: 28.34 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/0.008945, allocations: 32.34 kB / 0.5235 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002842/0.009229, allocations: 492.1 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.972e-05/0.009269, allocations: 19.92 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.374e-05/0.009292, allocations: 9.25 kB / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.021e-05/0.009363, allocations: 35.69 kB / 0.5241 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.009363, allocations: 0 / 0.5241 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001175/0.009481, allocations: 62.25 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.009501, allocations: 8 kB / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.009507, allocations: 0.9688 kB / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.009526, allocations: 0 / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.377e-05/0.00959, allocations: 16.92 kB / 0.5241 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.009601, allocations: 7.938 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.777e-05/0.009619, allocations: 0 / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.009624, allocations: 2.75 kB / 0.5242 GB, free: 13.71 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 (7): * Single equations (assignments): 7 * 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 0.0001325/0.009757, allocations: 160.6 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.009774, allocations: 4 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.009939, allocations: 69.8 kB / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.009942, allocations: 0 / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.009949, allocations: 3.938 kB / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.009956, allocations: 4 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000451/0.01041, allocations: 323.7 kB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01041, allocations: 192 / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.618e-05/0.01049, allocations: 19.98 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01049, allocations: 0 / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.0105, allocations: 3.938 kB / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.01051, allocations: 3.938 kB / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.01051, allocations: 5.219 kB / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.01079, allocations: 231.6 kB / 0.5249 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.01082, allocations: 7.984 kB / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.01084, allocations: 4.594 kB / 0.525 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.01091, allocations: 4 kB / 0.525 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.01094, allocations: 11.42 kB / 0.525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.01094, allocations: 0 / 0.525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.272e-05/0.01102, allocations: 123.2 kB / 0.5251 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01102, allocations: 0 / 0.5251 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002705/0.01129, allocations: 23.94 kB / 0.5251 GB, free: 12.66 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * 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 (6): * Single equations (assignments): 6 * 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.0002416/0.01154, allocations: 119.1 kB / 0.5252 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.01167, allocations: 39.67 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.01167, allocations: 0 / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.715e-05/0.01172, allocations: 30.17 kB / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.01195, allocations: 11.83 kB / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.01244, allocations: 188.1 kB / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.93e-05/0.01252, allocations: 68.41 kB / 0.5255 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.49e-05/0.01256, allocations: 8.375 kB / 0.5256 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.01258, allocations: 9.25 kB / 0.5256 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.01258, allocations: 0.6562 kB / 0.5256 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of Templates: time 0.003935/0.01652, allocations: 0.674 MB / 0.5262 GB, free: 11.55 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.24131384305656]