Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.002393/0.002393, allocations: 85.48 kB / 19.44 MB, free: 344 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.002755/0.002755, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.583/1.583, allocations: 177.1 MB / 203.1 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 178] 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 1.325/1.325, allocations: 154.8 MB / 414.4 MB, free: 372 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 178] 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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.5199 GB, free: 1.168 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.691e-05, allocations: 2.312 kB / 0.5199 GB, free: 1.164 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002509/0.002536, allocations: 1.299 MB / 0.5211 GB, free: 15.88 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.003742, allocations: 0.5753 MB / 0.5217 GB, free: 15.31 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.197e-05/0.003764, allocations: 3.938 kB / 0.5217 GB, free: 15.3 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.37e-05/0.003778, allocations: 1 kB / 0.5217 GB, free: 15.3 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.665e-05/0.003814, allocations: 0 / 0.5217 GB, free: 15.3 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005641/0.004379, allocations: 148.2 kB / 0.5218 GB, free: 15.16 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.921e-05/0.004448, allocations: 25.06 kB / 0.5219 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.945e-05/0.004477, allocations: 0 / 0.5219 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.093e-05/0.004538, allocations: 15.92 kB / 0.5219 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.052e-05/0.004579, allocations: 4.5 kB / 0.5219 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.004592, allocations: 1.031 kB / 0.5219 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000477/0.005069, allocations: 275.3 kB / 0.5221 GB, free: 14.85 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.005086, allocations: 8 kB / 0.5222 GB, free: 14.84 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.005111, allocations: 9.203 kB / 0.5222 GB, free: 14.83 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.005429, allocations: 159.4 kB / 0.5223 GB, free: 14.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.005431, allocations: 0 / 0.5223 GB, free: 14.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005432, allocations: 1.781 kB / 0.5223 GB, free: 14.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.005436, allocations: 0 / 0.5223 GB, free: 14.68 MB / 458.7 MB 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.0005052/0.005941, allocations: 383.9 kB / 0.5227 GB, free: 14.26 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.005977, allocations: 8.031 kB / 0.5227 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.006023, allocations: 8.938 kB / 0.5227 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.006152, allocations: 118.4 kB / 0.5228 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.006163, allocations: 384 / 0.5228 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.00618, allocations: 384 / 0.5228 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.006306, allocations: 67.95 kB / 0.5229 GB, free: 14.03 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.006314, allocations: 5.719 kB / 0.5229 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.006322, allocations: 4.312 kB / 0.5229 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.006326, allocations: 384 / 0.5229 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.474e-05/0.00637, allocations: 11.94 kB / 0.5229 GB, free: 14.01 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.006556, allocations: 116.7 kB / 0.523 GB, free: 13.86 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.006762, allocations: 55.8 kB / 0.5231 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/0.0068, allocations: 17.14 kB / 0.5231 GB, free: 13.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.006819, allocations: 4 kB / 0.5231 GB, free: 13.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.006853, allocations: 37.33 kB / 0.5231 GB, free: 13.72 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.006854, allocations: 0 / 0.5231 GB, free: 13.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006516/0.007506, allocations: 247.1 kB / 0.5234 GB, free: 13.45 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.007554, allocations: 55.34 kB / 0.5234 GB, free: 13.38 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.007672, allocations: 157.9 kB / 0.5236 GB, free: 13.21 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.007692, allocations: 26.73 kB / 0.5236 GB, free: 13.18 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.248e-05/0.007765, allocations: 126.9 kB / 0.5237 GB, free: 13.05 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.007799, allocations: 23.84 kB / 0.5237 GB, free: 13.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.007844, allocations: 26.25 kB / 0.5237 GB, free: 12.99 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002777/0.008122, allocations: 0.4884 MB / 0.5242 GB, free: 12.49 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.734e-05/0.008149, allocations: 7.984 kB / 0.5242 GB, free: 12.48 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-05/0.008175, allocations: 16.05 kB / 0.5242 GB, free: 12.47 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.091e-05/0.008246, allocations: 39.62 kB / 0.5243 GB, free: 12.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.008247, allocations: 0 / 0.5243 GB, free: 12.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001235/0.008371, allocations: 73.62 kB / 0.5244 GB, free: 12.35 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.008383, allocations: 5.031 kB / 0.5244 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.008387, allocations: 0 / 0.5244 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.0084, allocations: 0 / 0.5244 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.948e-05/0.00846, allocations: 16.92 kB / 0.5244 GB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.008467, allocations: 3.938 kB / 0.5244 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.008488, allocations: 4 kB / 0.5244 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.008495, allocations: 7.031 kB / 0.5244 GB, free: 12.32 MB / 458.7 MB 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 0.000114/0.008609, allocations: 156.5 kB / 0.5245 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.008627, allocations: 8 kB / 0.5245 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.00878, allocations: 69.8 kB / 0.5246 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.008785, allocations: 4 kB / 0.5246 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.00879, allocations: 3.938 kB / 0.5246 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.008794, allocations: 0 / 0.5246 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/0.0092, allocations: 315.9 kB / 0.5249 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.009204, allocations: 7.938 kB / 0.5249 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-05/0.009271, allocations: 11.98 kB / 0.5249 GB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.009273, allocations: 0 / 0.5249 GB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.009285, allocations: 7.938 kB / 0.525 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.009287, allocations: 0 / 0.525 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.009288, allocations: 0 / 0.525 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.009541, allocations: 236 kB / 0.5252 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.548e-05/0.009566, allocations: 9.5 kB / 0.5252 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.009583, allocations: 7.938 kB / 0.5252 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.608e-05/0.009649, allocations: 4 kB / 0.5252 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.009671, allocations: 4.516 kB / 0.5252 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.009679, allocations: 4 kB / 0.5252 GB, free: 11.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.348e-05/0.009752, allocations: 124.4 kB / 0.5253 GB, free: 11.28 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009752, allocations: 0 / 0.5253 GB, free: 11.28 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000264/0.01002, allocations: 24.72 kB / 0.5253 GB, free: 11.26 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0002023/0.01022, allocations: 119.7 kB / 0.5255 GB, free: 11.13 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001273/0.01035, allocations: 53.44 kB / 0.5255 GB, free: 11.08 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01035, allocations: 0 / 0.5255 GB, free: 11.08 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.537e-05/0.01039, allocations: 27.62 kB / 0.5255 GB, free: 11.05 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.0106, allocations: 4 kB / 0.5255 GB, free: 11.04 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.01101, allocations: 189.3 kB / 0.5257 GB, free: 10.85 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.17e-05/0.01108, allocations: 67.2 kB / 0.5258 GB, free: 10.76 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.977e-05/0.01111, allocations: 4.953 kB / 0.5258 GB, free: 10.76 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.01114, allocations: 17.42 kB / 0.5258 GB, free: 10.74 MB / 458.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01114, allocations: 0 / 0.5258 GB, free: 10.74 MB / 458.7 MB Notification: Performance of Templates: time 0.00385/0.01499, allocations: 0.6688 MB / 0.5265 GB, free: 10.14 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.87867494195234]