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.0008817/0.0008817, allocations: 81.14 kB / 19.87 MB, free: 4.625 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.0009574/0.0009574, allocations: 173 kB / 23.28 MB, free: 1.227 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.9426/0.9426, allocations: 177.1 MB / 203.7 MB, free: 5.531 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.7944/0.7944, allocations: 154.9 MB / 415.1 MB, free: 280 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 3.116e-06/3.116e-06, allocations: 7.922 kB / 0.5211 GB, free: 1.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.899e-05, allocations: 4.281 kB / 0.5211 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002811/0.00284, allocations: 1.305 MB / 0.5224 GB, free: 220 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.00389, allocations: 0.565 MB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.821e-05/0.003928, allocations: 0 / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.355e-05/0.003951, allocations: 9.141 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.298e-05/0.004004, allocations: 7.922 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000592/0.004596, allocations: 149.5 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.846e-05/0.004665, allocations: 19.86 kB / 0.5231 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/0.004703, allocations: 3.984 kB / 0.5231 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.199e-05/0.004765, allocations: 12 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.695e-05/0.004812, allocations: 7.984 kB / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.004827, allocations: 1.719 kB / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004063/0.005233, allocations: 267.4 kB / 0.5234 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.00525, allocations: 4 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.725e-05/0.005267, allocations: 7.922 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.005524, allocations: 161.1 kB / 0.5236 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.005528, allocations: 3.938 kB / 0.5236 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.222e-06/0.005529, allocations: 0 / 0.5236 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.005533, allocations: 0 / 0.5236 GB, free: 15.02 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.0003657/0.005899, allocations: 384.7 kB / 0.5239 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.005939, allocations: 8.031 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.005972, allocations: 14.7 kB / 0.524 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.233e-05/0.006044, allocations: 104.6 kB / 0.5241 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.006055, allocations: 4.375 kB / 0.5241 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.006071, allocations: 384 / 0.5241 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.621e-05/0.006157, allocations: 65.3 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.006164, allocations: 192 / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.006172, allocations: 4.375 kB / 0.5241 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.006178, allocations: 4.359 kB / 0.5241 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.346e-05/0.006202, allocations: 16.67 kB / 0.5242 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.00632, allocations: 97.2 kB / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.006478, allocations: 50.19 kB / 0.5243 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.478e-05/0.006502, allocations: 19.77 kB / 0.5243 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.006529, allocations: 3.984 kB / 0.5243 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.006556, allocations: 41.39 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.006557, allocations: 0 / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.000398/0.006955, allocations: 221.7 kB / 0.5246 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.006978, allocations: 51.41 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/0.007045, allocations: 166.4 kB / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.007056, allocations: 30.27 kB / 0.5248 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.007088, allocations: 126.9 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.007115, allocations: 24.47 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.007144, allocations: 23.38 kB / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.007251, allocations: 0.489 MB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.11e-05/0.007262, allocations: 5.469 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.11e-05/0.007273, allocations: 7.984 kB / 0.5255 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.275e-05/0.007306, allocations: 35.59 kB / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.007307, allocations: 0 / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.989e-05/0.007366, allocations: 62.52 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.007379, allocations: 6.188 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.007384, allocations: 4 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.007396, allocations: 1.375 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.519e-05/0.007431, allocations: 8 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.007435, allocations: 0 / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.291e-05/0.007458, allocations: 10.84 kB / 0.5256 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.007463, allocations: 4 kB / 0.5256 GB, free: 12.73 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 6.076e-05/0.007524, allocations: 156.6 kB / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.007532, allocations: 4 kB / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.642e-05/0.007619, allocations: 69.75 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.00762, allocations: 0 / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.007622, allocations: 0 / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-06/0.007625, allocations: 3.938 kB / 0.5258 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.007808, allocations: 304.6 kB / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.007809, allocations: 0 / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.851e-05/0.007848, allocations: 8.516 kB / 0.5261 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.007849, allocations: 0 / 0.5261 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.007855, allocations: 4 kB / 0.5261 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.007857, allocations: 0 / 0.5261 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.007858, allocations: 3.938 kB / 0.5261 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.007979, allocations: 232.2 kB / 0.5263 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.007993, allocations: 5.125 kB / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.008005, allocations: 7.984 kB / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.55e-05/0.00804, allocations: 3.984 kB / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.008054, allocations: 8.688 kB / 0.5264 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.008058, allocations: 0 / 0.5264 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.041e-05/0.008088, allocations: 124.8 kB / 0.5265 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.008088, allocations: 0 / 0.5265 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00016/0.008248, allocations: 27.92 kB / 0.5265 GB, free: 11.72 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.0001472/0.008395, allocations: 117.5 kB / 0.5266 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.66e-05/0.008462, allocations: 39.59 kB / 0.5267 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.008464, allocations: 3.938 kB / 0.5267 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.179e-05/0.008486, allocations: 19.69 kB / 0.5267 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.008636, allocations: 9.297 kB / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.009075, allocations: 185.1 kB / 0.5269 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.452e-05/0.009109, allocations: 56.83 kB / 0.5269 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.183e-05/0.009131, allocations: 4.391 kB / 0.5269 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.009179, allocations: 78.75 kB / 0.527 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of SimCode: time 8.22e-07/0.00918, allocations: 0 / 0.527 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of Templates: time 0.002217/0.0114, allocations: 0.7222 MB / 0.5277 GB, free: 10.52 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.632795888930559]