Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.001372/0.001372, allocations: 92.7 kB / 19.44 MB, free: 324 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.00157/0.00157, allocations: 165.7 kB / 22.76 MB, free: 1.652 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.456/1.456, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.321/1.321, allocations: 154.8 MB / 414.3 MB, free: 456 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 178] 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.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.5199 GB, free: 2.301 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.548e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.297 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002458/0.002484, allocations: 1.3 MB / 0.5211 GB, free: 1.012 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.003634, allocations: 0.5423 MB / 0.5217 GB, free: 484 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.242e-05/0.003657, allocations: 0 / 0.5217 GB, free: 484 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.097e-05/0.003678, allocations: 3.984 kB / 0.5217 GB, free: 480 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.881e-05/0.003717, allocations: 7.875 kB / 0.5217 GB, free: 472 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005549/0.004272, allocations: 144.8 kB / 0.5218 GB, free: 328 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.85e-05/0.00434, allocations: 31.8 kB / 0.5218 GB, free: 296 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.374e-05/0.004374, allocations: 8.734 kB / 0.5218 GB, free: 288 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.926e-05/0.004423, allocations: 15.98 kB / 0.5219 GB, free: 272 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.004482, allocations: 13.39 kB / 0.5219 GB, free: 260 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.004496, allocations: 0 / 0.5219 GB, free: 260 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004795/0.004975, allocations: 275.5 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.004996, allocations: 7.938 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.005025, allocations: 13.33 kB / 0.5222 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.00532, allocations: 161.9 kB / 0.5223 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.005322, allocations: 0 / 0.5223 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.82e-07/0.005323, allocations: 0.5938 kB / 0.5223 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.005327, allocations: 3.938 kB / 0.5223 GB, free: 15.8 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004628/0.00579, allocations: 289.3 kB / 0.5226 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.005825, allocations: 12.03 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.005878, allocations: 12.89 kB / 0.5226 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.005996, allocations: 105.7 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.00601, allocations: 4.375 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.006042, allocations: 8.375 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.006204, allocations: 97.64 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.006218, allocations: 4.188 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.006227, allocations: 0.875 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.006231, allocations: 0.9062 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.221e-05/0.006293, allocations: 27.86 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.006479, allocations: 113.9 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.006603, allocations: 59.36 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.662e-05/0.006649, allocations: 24.86 kB / 0.523 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.006669, allocations: 5.469 kB / 0.523 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.006706, allocations: 30.56 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.006707, allocations: 0 / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.001213/0.00792, allocations: 457.6 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.007974, allocations: 59.34 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.264e-05/0.008067, allocations: 97.84 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.008091, allocations: 31.08 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.008144, allocations: 80.14 kB / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.008198, allocations: 43.67 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/0.008258, allocations: 22.53 kB / 0.5238 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.008445, allocations: 322.8 kB / 0.5241 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.424e-05/0.008489, allocations: 17.28 kB / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.889e-05/0.008538, allocations: 23.98 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.008647, allocations: 56.86 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.008648, allocations: 0 / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001808/0.008829, allocations: 106.9 kB / 0.5243 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.008842, allocations: 4 kB / 0.5243 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.008847, allocations: 0 / 0.5243 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.008868, allocations: 10.69 kB / 0.5243 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.008978, allocations: 19.98 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.008983, allocations: 0 / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.009013, allocations: 4 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.009022, allocations: 4 kB / 0.5244 GB, free: 13.47 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 (13): * Single equations (assignments): 13 * 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.0001028/0.009124, allocations: 117.8 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.009152, allocations: 7.953 kB / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.009384, allocations: 112.8 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.009389, allocations: 3.938 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.009394, allocations: 0 / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.009397, allocations: 0 / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006996/0.0101, allocations: 290.2 kB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.0101, allocations: 0 / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.01022, allocations: 19.98 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.01023, allocations: 4.844 kB / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.01024, allocations: 8 kB / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01024, allocations: 0 / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01024, allocations: 4.875 kB / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.01055, allocations: 224.8 kB / 0.5251 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.01056, allocations: 4.969 kB / 0.5251 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.01058, allocations: 3.938 kB / 0.5251 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.597e-05/0.01067, allocations: 4 kB / 0.5251 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/0.01069, allocations: 8.547 kB / 0.5252 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.0107, allocations: 9.438 kB / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.908e-05/0.01075, allocations: 75.28 kB / 0.5252 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01075, allocations: 4 kB / 0.5252 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002863/0.01104, allocations: 42.3 kB / 0.5253 GB, free: 12.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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 (11): * Single equations (assignments): 11 * 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.0002647/0.0113, allocations: 131.1 kB / 0.5254 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001585/0.01146, allocations: 63.84 kB / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01147, allocations: 0 / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.7e-05/0.01152, allocations: 31.92 kB / 0.5255 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.01176, allocations: 11.38 kB / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005277/0.01228, allocations: 239.2 kB / 0.5257 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.858e-05/0.01236, allocations: 71.28 kB / 0.5258 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.078e-05/0.01241, allocations: 17.94 kB / 0.5258 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.01245, allocations: 12.5 kB / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of SimCode: time 4.2e-07/0.01245, allocations: 0.7812 kB / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.003853/0.0163, allocations: 0.9328 MB / 0.5267 GB, free: 11.07 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.742981658084318]