Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001811/0.001811, allocations: 85.48 kB / 19.44 MB, free: 344 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.001978/0.001978, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.569/1.569, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.338/1.338, allocations: 154.8 MB / 414.4 MB, free: 444 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.5199 GB, free: 2.273 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.207e-05/3.383e-05, allocations: 4.609 kB / 0.5199 GB, free: 2.27 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002524/0.002557, allocations: 1.302 MB / 0.5211 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.003981, allocations: 0.5686 MB / 0.5217 GB, free: 424 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.361e-05/0.004004, allocations: 0.5 kB / 0.5217 GB, free: 424 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.944e-05/0.004024, allocations: 5.156 kB / 0.5217 GB, free: 420 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.799e-05/0.004082, allocations: 7.922 kB / 0.5217 GB, free: 412 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005656/0.004647, allocations: 140.1 kB / 0.5218 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.979e-05/0.004717, allocations: 28.45 kB / 0.5219 GB, free: 244 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.367e-05/0.004751, allocations: 3.984 kB / 0.5219 GB, free: 240 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.339e-05/0.004804, allocations: 11.39 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.556e-05/0.00485, allocations: 8 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.004863, allocations: 0 / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000504/0.005367, allocations: 267.4 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.005387, allocations: 7.984 kB / 0.5222 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.293e-05/0.00541, allocations: 11.88 kB / 0.5222 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.005714, allocations: 147.6 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.005717, allocations: 3.938 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.005718, allocations: 0 / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.005723, allocations: 0.6875 kB / 0.5223 GB, free: 15.79 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005252/0.006248, allocations: 384 kB / 0.5227 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.006284, allocations: 12.59 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.006332, allocations: 9.828 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.006454, allocations: 108.6 kB / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.006466, allocations: 384 / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.006488, allocations: 5.969 kB / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.006617, allocations: 63.95 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.006626, allocations: 4.188 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.006635, allocations: 384 / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.006639, allocations: 1.25 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.815e-05/0.006687, allocations: 15.86 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.006893, allocations: 126.6 kB / 0.523 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.007099, allocations: 51.09 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.007146, allocations: 23.75 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.007162, allocations: 0 / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.007195, allocations: 37.39 kB / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.007196, allocations: 0.5938 kB / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0006762/0.007872, allocations: 238.2 kB / 0.5233 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.007924, allocations: 60.06 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.008046, allocations: 157.9 kB / 0.5235 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.008068, allocations: 26.27 kB / 0.5236 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.008145, allocations: 134.9 kB / 0.5237 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.008176, allocations: 17.23 kB / 0.5237 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.584e-05/0.008232, allocations: 35.31 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000264/0.008496, allocations: 496.1 kB / 0.5242 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.691e-05/0.008523, allocations: 8.781 kB / 0.5242 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.095e-05/0.008554, allocations: 15.98 kB / 0.5242 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.129e-05/0.008625, allocations: 44.7 kB / 0.5243 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.008626, allocations: 0 / 0.5243 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001307/0.008757, allocations: 65.62 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.00877, allocations: 7.031 kB / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.008777, allocations: 4 kB / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.00879, allocations: 0 / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.687e-05/0.008847, allocations: 11.98 kB / 0.5244 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.008854, allocations: 3.938 kB / 0.5244 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.956e-05/0.008874, allocations: 4 kB / 0.5244 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.008882, allocations: 4 kB / 0.5244 GB, free: 13.43 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.0001198/0.009001, allocations: 154.3 kB / 0.5245 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.009016, allocations: 8 kB / 0.5245 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.009178, allocations: 77.73 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.00918, allocations: 0 / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.009186, allocations: 3.938 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.009188, allocations: 2.75 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.009594, allocations: 325.1 kB / 0.5249 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.009596, allocations: 0 / 0.5249 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.956e-05/0.009676, allocations: 11.98 kB / 0.5249 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.009681, allocations: 4 kB / 0.5249 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.009691, allocations: 3.938 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.009693, allocations: 0 / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.009694, allocations: 1.938 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.009955, allocations: 231.6 kB / 0.5252 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.009979, allocations: 7.984 kB / 0.5252 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.009998, allocations: 8.125 kB / 0.5252 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.699e-05/0.01006, allocations: 4 kB / 0.5252 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.01009, allocations: 8.922 kB / 0.5252 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.0101, allocations: 0 / 0.5252 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.06e-05/0.01018, allocations: 128.4 kB / 0.5253 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01018, allocations: 0 / 0.5253 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002439/0.01042, allocations: 20.88 kB / 0.5253 GB, free: 12.37 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0002357/0.01066, allocations: 116.4 kB / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.01078, allocations: 43.61 kB / 0.5255 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01079, allocations: 3.938 kB / 0.5255 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.471e-05/0.01083, allocations: 28.3 kB / 0.5255 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.01105, allocations: 1.969 kB / 0.5255 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004505/0.0115, allocations: 196.4 kB / 0.5257 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.15e-05/0.01157, allocations: 70.25 kB / 0.5258 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.588e-05/0.0116, allocations: 0 / 0.5258 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.01162, allocations: 12.5 kB / 0.5258 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of SimCode: time 4.5e-07/0.01162, allocations: 0 / 0.5258 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of Templates: time 0.003683/0.01531, allocations: 0.6487 MB / 0.5264 GB, free: 11.27 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.951379799982533]