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.0009287/0.0009287, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.000951/0.000951, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9171/0.9171, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.7377/0.7377, allocations: 154.9 MB / 415.1 MB, free: 260 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_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.142e-06/1.142e-06, allocations: 0 / 0.5211 GB, free: 1.504 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.664e-05/1.778e-05, allocations: 4 kB / 0.5211 GB, free: 1.5 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001819/0.001837, allocations: 1.322 MB / 0.5224 GB, free: 196 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008185/0.002656, allocations: 0.5741 MB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.002683, allocations: 0 / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.002699, allocations: 0 / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.495e-05/0.002734, allocations: 7.984 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.003138, allocations: 144.5 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.012e-05/0.003188, allocations: 19.92 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 2.926e-05/0.003217, allocations: 8.547 kB / 0.5231 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.715e-05/0.003274, allocations: 15.92 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.859e-05/0.003313, allocations: 5.031 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.003325, allocations: 4 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.003653, allocations: 271.4 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.003667, allocations: 5.234 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.433e-05/0.003681, allocations: 4 kB / 0.5234 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.003862, allocations: 151.5 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003863, allocations: 0.5625 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003864, allocations: 0.9688 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.585e-06/0.003867, allocations: 4 kB / 0.5236 GB, free: 15 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.0002628/0.004129, allocations: 388 kB / 0.524 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.004159, allocations: 9.844 kB / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.034e-05/0.004179, allocations: 9.234 kB / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.877e-05/0.004248, allocations: 104.6 kB / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.004259, allocations: 8.375 kB / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.004272, allocations: 384 / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.024e-05/0.004343, allocations: 64.98 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.291e-06/0.004349, allocations: 192 / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-06/0.004354, allocations: 4.375 kB / 0.5242 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.004358, allocations: 1.125 kB / 0.5242 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.004379, allocations: 15.92 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000102/0.004481, allocations: 102.4 kB / 0.5243 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.004605, allocations: 51.08 kB / 0.5243 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.004623, allocations: 25.08 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.00464, allocations: 4 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.004662, allocations: 37.39 kB / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.004662, allocations: 0.7812 kB / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0003551/0.005018, allocations: 221.7 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.005039, allocations: 56.25 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.103e-05/0.0051, allocations: 161.9 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.005112, allocations: 32.52 kB / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.005152, allocations: 126.9 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.005178, allocations: 23.78 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.005211, allocations: 27.36 kB / 0.525 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.00532, allocations: 492.1 kB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.005331, allocations: 4 kB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.724e-05/0.005348, allocations: 23.89 kB / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.241e-05/0.005381, allocations: 23.69 kB / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.005382, allocations: 0.5 kB / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.616e-05/0.005448, allocations: 58.64 kB / 0.5256 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.005457, allocations: 4 kB / 0.5256 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.005461, allocations: 2.75 kB / 0.5256 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.005472, allocations: 4 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.464e-05/0.005506, allocations: 8 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.00551, allocations: 3.984 kB / 0.5256 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.297e-05/0.005523, allocations: 7.875 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.005527, allocations: 4 kB / 0.5256 GB, free: 12.71 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 5.535e-05/0.005583, allocations: 156.6 kB / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-06/0.005592, allocations: 6.656 kB / 0.5258 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.265e-05/0.005675, allocations: 61.81 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.005676, allocations: 0 / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.005678, allocations: 3.984 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.005682, allocations: 3.938 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.005877, allocations: 297.9 kB / 0.5261 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.005879, allocations: 0 / 0.5261 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.976e-05/0.005918, allocations: 13.22 kB / 0.5261 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.00592, allocations: 0 / 0.5261 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-06/0.005924, allocations: 0 / 0.5261 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.005928, allocations: 8.484 kB / 0.5261 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.00593, allocations: 12.84 kB / 0.5261 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.006063, allocations: 223.6 kB / 0.5264 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.006077, allocations: 3.984 kB / 0.5264 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.006086, allocations: 5.125 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.065e-05/0.006137, allocations: 4 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.006149, allocations: 3.938 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.006152, allocations: 4.625 kB / 0.5264 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.257e-05/0.006185, allocations: 127.8 kB / 0.5265 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006185, allocations: 0 / 0.5265 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002134/0.006398, allocations: 19.38 kB / 0.5265 GB, free: 11.71 MB / 0.4948 GB 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.0001229/0.006521, allocations: 127 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.413e-05/0.006585, allocations: 31.66 kB / 0.5267 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.006586, allocations: 0 / 0.5267 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.05e-05/0.006607, allocations: 27.61 kB / 0.5267 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.006801, allocations: 9.312 kB / 0.5267 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.007203, allocations: 183.1 kB / 0.5269 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.491e-05/0.007238, allocations: 59.3 kB / 0.5269 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.258e-05/0.00726, allocations: 8.375 kB / 0.5269 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.007303, allocations: 79.67 kB / 0.527 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of SimCode: time 4.9e-07/0.007303, allocations: 0 / 0.527 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of Templates: time 0.002457/0.00976, allocations: 0.7513 MB / 0.5278 GB, free: 10.48 MB / 0.4948 GB " [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: 3.605857083108276]