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.001092/0.001092, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009472/0.0009472, allocations: 177 kB / 23.49 MB, free: 1.059 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 0.9747/0.9747, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.7714/0.7714, allocations: 154.8 MB / 415.1 MB, free: 488 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.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.152e-06/1.152e-06, allocations: 0 / 0.5206 GB, free: 2.281 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.042e-05, allocations: 7.703 kB / 0.5206 GB, free: 2.277 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001609/0.00163, allocations: 1.307 MB / 0.5219 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007642/0.002394, allocations: 0.5781 MB / 0.5224 GB, free: 416 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.002417, allocations: 0 / 0.5224 GB, free: 416 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.00244, allocations: 3.938 kB / 0.5224 GB, free: 412 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.773e-05/0.002488, allocations: 3.938 kB / 0.5224 GB, free: 408 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.00306, allocations: 144.4 kB / 0.5226 GB, free: 264 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.919e-05/0.003119, allocations: 27.91 kB / 0.5226 GB, free: 236 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.427e-05/0.003153, allocations: 0.5625 kB / 0.5226 GB, free: 236 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.718e-05/0.003211, allocations: 13.42 kB / 0.5226 GB, free: 224 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.939e-05/0.00325, allocations: 4 kB / 0.5226 GB, free: 220 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.003264, allocations: 4 kB / 0.5226 GB, free: 216 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002945/0.003558, allocations: 267.4 kB / 0.5229 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.003576, allocations: 8.703 kB / 0.5229 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.003595, allocations: 4 kB / 0.5229 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.003801, allocations: 152.4 kB / 0.523 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003803, allocations: 0 / 0.523 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.62e-07/0.003804, allocations: 3 kB / 0.523 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.003808, allocations: 3.938 kB / 0.523 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.000319/0.004127, allocations: 388 kB / 0.5234 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.004159, allocations: 12.03 kB / 0.5234 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.004194, allocations: 5.234 kB / 0.5234 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.455e-05/0.004278, allocations: 116.6 kB / 0.5235 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.00429, allocations: 384 / 0.5235 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.004309, allocations: 4.375 kB / 0.5235 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.004413, allocations: 64.58 kB / 0.5236 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.872e-06/0.004419, allocations: 192 / 0.5236 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.004429, allocations: 5.594 kB / 0.5236 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.004434, allocations: 384 / 0.5236 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.805e-05/0.004462, allocations: 11.92 kB / 0.5236 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/0.004579, allocations: 125.5 kB / 0.5237 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.004726, allocations: 47.09 kB / 0.5238 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.816e-05/0.004754, allocations: 24.73 kB / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.004768, allocations: 0 / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.00479, allocations: 38.33 kB / 0.5238 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 6.11e-07/0.004791, allocations: 0 / 0.5238 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0004509/0.005242, allocations: 234.4 kB / 0.5241 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.005271, allocations: 55.34 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.00548, allocations: 162.9 kB / 0.5243 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.005489, allocations: 25.7 kB / 0.5243 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.005519, allocations: 126.9 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.005542, allocations: 25.02 kB / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.005572, allocations: 27.36 kB / 0.5245 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.005674, allocations: 0.4883 MB / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.005691, allocations: 8.625 kB / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.527e-05/0.005707, allocations: 15.97 kB / 0.525 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.005741, allocations: 25.5 kB / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.005742, allocations: 0 / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.244e-05/0.005805, allocations: 70.12 kB / 0.5251 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.005815, allocations: 4 kB / 0.5251 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.005818, allocations: 0 / 0.5251 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.005828, allocations: 1.5 kB / 0.5251 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.071e-05/0.005858, allocations: 15.98 kB / 0.5251 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.005864, allocations: 3.938 kB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.238e-06/0.005873, allocations: 0 / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-06/0.005876, allocations: 0.5 kB / 0.5251 GB, free: 13.45 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 5.523e-05/0.005931, allocations: 162.4 kB / 0.5252 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-06/0.005939, allocations: 4 kB / 0.5252 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.767e-05/0.006026, allocations: 77.72 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.006027, allocations: 0 / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.006031, allocations: 5.812 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.006033, allocations: 0 / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.006222, allocations: 313.1 kB / 0.5256 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006224, allocations: 0 / 0.5256 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.006264, allocations: 11.98 kB / 0.5256 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.006265, allocations: 6.75 kB / 0.5256 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.00627, allocations: 3.938 kB / 0.5256 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.006271, allocations: 0 / 0.5256 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006272, allocations: 192 / 0.5256 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.006396, allocations: 231.6 kB / 0.5259 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.006408, allocations: 3.984 kB / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.006419, allocations: 11.94 kB / 0.5259 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.596e-05/0.006455, allocations: 1.781 kB / 0.5259 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.006471, allocations: 7.984 kB / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.006475, allocations: 0 / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.022e-05/0.006505, allocations: 123.2 kB / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006505, allocations: 0 / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001647/0.00667, allocations: 26.34 kB / 0.526 GB, free: 12.41 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.0001204/0.00679, allocations: 119 kB / 0.5261 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.954e-05/0.00687, allocations: 39.61 kB / 0.5262 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.006871, allocations: 0 / 0.5262 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.955e-05/0.006891, allocations: 28.55 kB / 0.5262 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.007039, allocations: 0.5625 kB / 0.5262 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.007493, allocations: 194.4 kB / 0.5264 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.379e-05/0.007526, allocations: 59.34 kB / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.269e-05/0.007549, allocations: 12.36 kB / 0.5265 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.007567, allocations: 11.12 kB / 0.5265 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of SimCode: time 8.32e-07/0.007568, allocations: 4 kB / 0.5265 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.002084/0.009652, allocations: 0.6388 MB / 0.5271 GB, free: 11.32 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: 3.6789118330925703]