Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008895/0.0008895, allocations: 92.22 kB / 19.65 MB, free: 276 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.000941/0.000941, allocations: 173 kB / 23.03 MB, free: 1.543 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.8991/0.8991, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7532/0.7532, allocations: 154.6 MB / 414.5 MB, free: 0.6602 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 179] 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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0.7656 kB / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.802e-05, allocations: 6.312 kB / 0.5203 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001644/0.001662, allocations: 1.319 MB / 0.5216 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008551/0.002517, allocations: 0.5766 MB / 0.5222 GB, free: 320 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.573e-05/0.002543, allocations: 4.562 kB / 0.5222 GB, free: 316 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.002564, allocations: 3.938 kB / 0.5222 GB, free: 312 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.687e-05/0.002601, allocations: 8.703 kB / 0.5222 GB, free: 304 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.003091, allocations: 152 kB / 0.5223 GB, free: 152 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.11e-05/0.003152, allocations: 30.38 kB / 0.5224 GB, free: 124 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.00319, allocations: 3.984 kB / 0.5224 GB, free: 120 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.573e-05/0.003226, allocations: 15.98 kB / 0.5224 GB, free: 104 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.357e-05/0.003279, allocations: 15.92 kB / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.003294, allocations: 0 / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003418/0.003636, allocations: 275.4 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.003653, allocations: 0.7812 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.003681, allocations: 15.97 kB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.003885, allocations: 156.8 kB / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003887, allocations: 0 / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.31e-07/0.003888, allocations: 0 / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.003892, allocations: 0 / 0.5228 GB, free: 15.65 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.0003254/0.004217, allocations: 396.4 kB / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.004253, allocations: 8.719 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.004291, allocations: 9.234 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.501e-05/0.004366, allocations: 113.6 kB / 0.5233 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.004378, allocations: 12.36 kB / 0.5233 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.0044, allocations: 5.344 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.004521, allocations: 105.6 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.004531, allocations: 4.125 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.004542, allocations: 4.875 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.004548, allocations: 1.281 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.629e-05/0.004584, allocations: 19.92 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.004706, allocations: 113.4 kB / 0.5236 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.159e-05/0.004797, allocations: 63.03 kB / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.004828, allocations: 32.28 kB / 0.5237 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.004844, allocations: 4.938 kB / 0.5237 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.004867, allocations: 37.39 kB / 0.5237 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.004868, allocations: 0 / 0.5237 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0008109/0.005679, allocations: 459.3 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.005705, allocations: 51.41 kB / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.73e-05/0.005773, allocations: 155.7 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.005785, allocations: 29.7 kB / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/0.005818, allocations: 126.9 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.005849, allocations: 39.64 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.005885, allocations: 35.38 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.006009, allocations: 0.4891 MB / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.762e-05/0.006036, allocations: 15.98 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.282e-05/0.006059, allocations: 16.19 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.081e-05/0.00612, allocations: 55.61 kB / 0.5251 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.006121, allocations: 0 / 0.5251 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.407e-05/0.006215, allocations: 82.59 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.006228, allocations: 6.656 kB / 0.5252 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.006233, allocations: 4 kB / 0.5252 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.006245, allocations: 9.094 kB / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.003e-05/0.006325, allocations: 27.92 kB / 0.5253 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.00633, allocations: 0 / 0.5253 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.331e-05/0.006343, allocations: 2.969 kB / 0.5253 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.006349, allocations: 4 kB / 0.5253 GB, free: 12.9 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 6.934e-05/0.006419, allocations: 160.6 kB / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.006431, allocations: 11.95 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.006559, allocations: 101.7 kB / 0.5255 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.006562, allocations: 3.938 kB / 0.5255 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.006565, allocations: 3.938 kB / 0.5255 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.006568, allocations: 7.031 kB / 0.5255 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.006881, allocations: 333.5 kB / 0.5259 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006882, allocations: 3.938 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.006954, allocations: 20 kB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.006958, allocations: 3.938 kB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.006969, allocations: 7.922 kB / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.00697, allocations: 0 / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.006973, allocations: 0 / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.007161, allocations: 251.5 kB / 0.5261 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.007171, allocations: 7.953 kB / 0.5261 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.007185, allocations: 7.938 kB / 0.5262 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.133e-05/0.007226, allocations: 4 kB / 0.5262 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.007246, allocations: 5.391 kB / 0.5262 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.007254, allocations: 11.98 kB / 0.5262 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.614e-05/0.007291, allocations: 123.2 kB / 0.5263 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007291, allocations: 1.281 kB / 0.5263 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001878/0.007478, allocations: 39.81 kB / 0.5263 GB, free: 11.75 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.0001753/0.007654, allocations: 131.8 kB / 0.5265 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.007776, allocations: 63.17 kB / 0.5265 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.007778, allocations: 0.5312 kB / 0.5265 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.658e-05/0.007824, allocations: 36.11 kB / 0.5266 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.007986, allocations: 15.98 kB / 0.5266 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006035/0.008589, allocations: 249.6 kB / 0.5268 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.61e-05/0.008625, allocations: 63.34 kB / 0.5269 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.912e-05/0.008654, allocations: 9.062 kB / 0.5269 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.008678, allocations: 16.5 kB / 0.5269 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of SimCode: time 4.6e-07/0.008678, allocations: 0.9375 kB / 0.5269 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of Templates: time 0.002896/0.01157, allocations: 1.024 MB / 0.5279 GB, free: 10.23 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.614602566231042]