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.001434/0.001434, allocations: 93.06 kB / 19.65 MB, free: 280 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.001161/0.001161, allocations: 173 kB / 23.02 MB, free: 1.551 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.9317/0.9317, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.7619/0.7619, allocations: 154.9 MB / 414.8 MB, free: 400 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.175e-06/3.175e-06, allocations: 3.984 kB / 0.5207 GB, free: 1.848 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.833e-05/3.151e-05, allocations: 10.64 kB / 0.5207 GB, free: 1.84 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002847/0.002878, allocations: 1.313 MB / 0.522 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.003955, allocations: 0.5755 MB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.003989, allocations: 1.625 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.004017, allocations: 3.938 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.509e-05/0.004072, allocations: 0 / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007292/0.004801, allocations: 155.8 kB / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.421e-05/0.004876, allocations: 17.14 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.004915, allocations: 0 / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.395e-05/0.004979, allocations: 19.92 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.907e-05/0.005028, allocations: 9.234 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.005043, allocations: 0 / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000428/0.005471, allocations: 267.4 kB / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.005489, allocations: 0 / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.005513, allocations: 6.281 kB / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.005808, allocations: 159.5 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.005812, allocations: 7.938 kB / 0.5232 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.172e-06/0.005813, allocations: 0 / 0.5232 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.005817, allocations: 0 / 0.5232 GB, free: 15.34 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.0004551/0.006272, allocations: 384 kB / 0.5235 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.006318, allocations: 9.75 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.006372, allocations: 9.234 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.006478, allocations: 104.6 kB / 0.5236 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.006492, allocations: 4.375 kB / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.006516, allocations: 4.938 kB / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.006638, allocations: 63.95 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.006646, allocations: 1.094 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.006656, allocations: 384 / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.006665, allocations: 1.469 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.22e-05/0.006707, allocations: 19.86 kB / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.006874, allocations: 128.5 kB / 0.5239 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.0071, allocations: 51.86 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.872e-05/0.007139, allocations: 16.8 kB / 0.5239 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.007158, allocations: 0 / 0.5239 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.007189, allocations: 37.39 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.00719, allocations: 1.5 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0006436/0.007833, allocations: 229.7 kB / 0.5242 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.007872, allocations: 59.34 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.27e-05/0.007954, allocations: 159 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.007969, allocations: 25.7 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.008014, allocations: 130.9 kB / 0.5245 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.008056, allocations: 28.42 kB / 0.5246 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.008105, allocations: 31.36 kB / 0.5246 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.00824, allocations: 497.4 kB / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.00826, allocations: 4 kB / 0.5251 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.619e-05/0.008276, allocations: 11.98 kB / 0.5251 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.59e-05/0.008322, allocations: 32.95 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.008324, allocations: 0 / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.985e-05/0.008423, allocations: 61.62 kB / 0.5252 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.008442, allocations: 6.875 kB / 0.5252 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.008448, allocations: 0 / 0.5252 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.008462, allocations: 2.844 kB / 0.5252 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.999e-05/0.008522, allocations: 12 kB / 0.5252 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.00853, allocations: 3.938 kB / 0.5252 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.021e-05/0.00855, allocations: 4 kB / 0.5252 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.008559, allocations: 7.984 kB / 0.5252 GB, free: 13.01 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.775e-05/0.008636, allocations: 152.6 kB / 0.5254 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.008654, allocations: 8 kB / 0.5254 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.00879, allocations: 68.78 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.008792, allocations: 0 / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.008798, allocations: 3.938 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.008803, allocations: 3.984 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003377/0.009141, allocations: 317.1 kB / 0.5257 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.009143, allocations: 0 / 0.5257 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.44e-05/0.009218, allocations: 16 kB / 0.5257 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.009221, allocations: 1.5 kB / 0.5258 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.009233, allocations: 7.875 kB / 0.5258 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.00924, allocations: 7.984 kB / 0.5258 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.009242, allocations: 0 / 0.5258 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.009458, allocations: 226.8 kB / 0.526 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.865e-05/0.009486, allocations: 11.98 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.009504, allocations: 3.938 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-05/0.009572, allocations: 0 / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.009593, allocations: 4.516 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.0096, allocations: 3.984 kB / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.195e-05/0.009642, allocations: 131.2 kB / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009642, allocations: 0 / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002916/0.009933, allocations: 22.38 kB / 0.5262 GB, free: 11.96 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.0002035/0.01014, allocations: 119.1 kB / 0.5263 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.01025, allocations: 35.61 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01025, allocations: 0 / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.143e-05/0.01028, allocations: 27.67 kB / 0.5263 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.01054, allocations: 5.219 kB / 0.5263 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006996/0.01124, allocations: 186.2 kB / 0.5265 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.047e-05/0.01129, allocations: 59.34 kB / 0.5266 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.924e-05/0.01132, allocations: 4 kB / 0.5266 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.01135, allocations: 12.5 kB / 0.5266 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of SimCode: time 9.21e-07/0.01135, allocations: 1.062 kB / 0.5266 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of Templates: time 0.003236/0.01458, allocations: 0.6924 MB / 0.5273 GB, free: 10.85 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.5738916038535535]