Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001179/0.001179, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.002036/0.002036, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9578/0.9578, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.7654/0.7654, allocations: 154.6 MB / 415.6 MB, free: 0.5039 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5215 GB, free: 1.891 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.822e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002257/0.002276, allocations: 1.305 MB / 0.5228 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.003281, allocations: 0.5705 MB / 0.5234 GB, free: 28 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.003309, allocations: 0 / 0.5234 GB, free: 28 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.00333, allocations: 0 / 0.5234 GB, free: 28 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.643e-05/0.003386, allocations: 4.625 kB / 0.5234 GB, free: 24 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.003934, allocations: 153.5 kB / 0.5235 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.617e-05/0.004, allocations: 19.92 kB / 0.5235 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.004038, allocations: 4 kB / 0.5235 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.965e-05/0.004097, allocations: 15.91 kB / 0.5236 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.915e-05/0.004146, allocations: 5.281 kB / 0.5236 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.00416, allocations: 0 / 0.5236 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.004567, allocations: 275.4 kB / 0.5238 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.004583, allocations: 3.594 kB / 0.5238 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.004604, allocations: 11.98 kB / 0.5238 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.004862, allocations: 151.5 kB / 0.524 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.004864, allocations: 0 / 0.524 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.81e-07/0.004864, allocations: 0 / 0.524 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.004868, allocations: 0 / 0.524 GB, free: 15.4 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.0003924/0.00526, allocations: 388 kB / 0.5244 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.005306, allocations: 12.03 kB / 0.5244 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.005341, allocations: 5.234 kB / 0.5244 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.828e-05/0.005439, allocations: 112.6 kB / 0.5245 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.00545, allocations: 0.9375 kB / 0.5245 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.005468, allocations: 4.906 kB / 0.5245 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.914e-05/0.005557, allocations: 67.89 kB / 0.5246 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.005564, allocations: 0.6875 kB / 0.5246 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.005571, allocations: 5.281 kB / 0.5246 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.005577, allocations: 384 / 0.5246 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.347e-05/0.0056, allocations: 11.92 kB / 0.5246 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.005729, allocations: 106.7 kB / 0.5247 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.005878, allocations: 39.09 kB / 0.5247 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.005905, allocations: 24.39 kB / 0.5247 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.005918, allocations: 0 / 0.5247 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.005947, allocations: 46.12 kB / 0.5248 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.005948, allocations: 0 / 0.5248 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0004493/0.006397, allocations: 223.8 kB / 0.525 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.00643, allocations: 51.41 kB / 0.525 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.769e-05/0.006508, allocations: 169.8 kB / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.006519, allocations: 25.7 kB / 0.5252 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.006562, allocations: 127.4 kB / 0.5253 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.006592, allocations: 23.8 kB / 0.5254 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.00663, allocations: 28.34 kB / 0.5254 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.006765, allocations: 496.1 kB / 0.5259 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.006779, allocations: 4 kB / 0.5259 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.408e-05/0.006793, allocations: 10.17 kB / 0.5259 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.228e-05/0.006835, allocations: 31.61 kB / 0.5259 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006836, allocations: 0 / 0.5259 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.978e-05/0.006916, allocations: 61.64 kB / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.006928, allocations: 8 kB / 0.526 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.006932, allocations: 2.75 kB / 0.526 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/0.006941, allocations: 0 / 0.526 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.541e-05/0.006986, allocations: 8 kB / 0.526 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.00699, allocations: 4 kB / 0.526 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.007006, allocations: 3.938 kB / 0.526 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.007011, allocations: 3.984 kB / 0.526 GB, free: 13.11 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 7.8e-05/0.007089, allocations: 164.5 kB / 0.5262 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.007099, allocations: 1.469 kB / 0.5262 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.007205, allocations: 61.81 kB / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.007206, allocations: 0 / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.007208, allocations: 0 / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.007213, allocations: 8.859 kB / 0.5262 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.007453, allocations: 293.9 kB / 0.5265 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.007456, allocations: 8.875 kB / 0.5265 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.674e-05/0.007503, allocations: 8 kB / 0.5265 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.007506, allocations: 4 kB / 0.5265 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.007513, allocations: 4.656 kB / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.007515, allocations: 0.875 kB / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.007517, allocations: 3.938 kB / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.007677, allocations: 230.2 kB / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.754e-05/0.007694, allocations: 8 kB / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.007706, allocations: 3.984 kB / 0.5268 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.598e-05/0.007762, allocations: 0 / 0.5268 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.007775, allocations: 7.938 kB / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.007781, allocations: 4 kB / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.705e-05/0.007818, allocations: 123.2 kB / 0.5269 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.007818, allocations: 0 / 0.5269 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002561/0.008075, allocations: 27.06 kB / 0.5269 GB, free: 12.11 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.0001406/0.008215, allocations: 119.1 kB / 0.527 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.829e-05/0.008293, allocations: 35.61 kB / 0.5271 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.008295, allocations: 0 / 0.5271 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.496e-05/0.00832, allocations: 27.59 kB / 0.5271 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.008537, allocations: 12.08 kB / 0.5271 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004724/0.00901, allocations: 180.2 kB / 0.5273 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.39e-05/0.009054, allocations: 55.36 kB / 0.5273 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.734e-05/0.009081, allocations: 14.39 kB / 0.5273 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.009133, allocations: 74.2 kB / 0.5274 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of SimCode: time 4.31e-07/0.009133, allocations: 0 / 0.5274 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.002706/0.01184, allocations: 0.74 MB / 0.5281 GB, free: 10.88 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.507405271753669]