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.001562/0.001562, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001814/0.001814, allocations: 173 kB / 23.49 MB, free: 1.059 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.9526/0.9526, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.8001/0.8001, allocations: 154.8 MB / 415.1 MB, free: 468 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 2.274e-06/2.274e-06, allocations: 0 / 0.5206 GB, free: 2.277 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.982e-05, allocations: 5.812 kB / 0.5206 GB, free: 2.273 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002475/0.002505, allocations: 1.316 MB / 0.5219 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.003841, allocations: 0.5727 MB / 0.5224 GB, free: 408 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.874e-05/0.00387, allocations: 0 / 0.5224 GB, free: 408 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.003892, allocations: 4.953 kB / 0.5224 GB, free: 404 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.945e-05/0.003932, allocations: 3.938 kB / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005758/0.004508, allocations: 157.1 kB / 0.5226 GB, free: 244 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.735e-05/0.004575, allocations: 19.92 kB / 0.5226 GB, free: 224 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.004617, allocations: 0 / 0.5226 GB, free: 224 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.289e-05/0.004679, allocations: 13.75 kB / 0.5226 GB, free: 212 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.296e-05/0.004732, allocations: 15.91 kB / 0.5226 GB, free: 196 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.004748, allocations: 0 / 0.5226 GB, free: 196 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004246/0.005173, allocations: 267.4 kB / 0.5229 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.005192, allocations: 7.938 kB / 0.5229 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.005214, allocations: 4.562 kB / 0.5229 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.005483, allocations: 156.5 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.005486, allocations: 0 / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.11e-07/0.005487, allocations: 0 / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.005492, allocations: 1.219 kB / 0.523 GB, free: 15.77 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.0004289/0.005921, allocations: 392 kB / 0.5234 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.005962, allocations: 8.031 kB / 0.5234 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.006013, allocations: 9.859 kB / 0.5234 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.006118, allocations: 108.6 kB / 0.5235 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.00613, allocations: 6 kB / 0.5235 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.006155, allocations: 384 / 0.5235 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.006272, allocations: 67.95 kB / 0.5236 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.006281, allocations: 192 / 0.5236 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.006291, allocations: 1.656 kB / 0.5236 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.006299, allocations: 384 / 0.5236 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.01e-05/0.006339, allocations: 15.92 kB / 0.5236 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.006486, allocations: 116.6 kB / 0.5237 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.006708, allocations: 51.75 kB / 0.5238 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.933e-05/0.006747, allocations: 20.95 kB / 0.5238 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.006768, allocations: 4 kB / 0.5238 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.006797, allocations: 33.39 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.006799, allocations: 0.7188 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0006252/0.007424, allocations: 230.6 kB / 0.5241 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.007465, allocations: 64.41 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.443e-05/0.007549, allocations: 161.9 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.007562, allocations: 29.7 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.007604, allocations: 127.6 kB / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.007636, allocations: 23.8 kB / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.007678, allocations: 28.05 kB / 0.5245 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.00781, allocations: 492.1 kB / 0.525 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/0.007836, allocations: 19.25 kB / 0.525 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.241e-05/0.007859, allocations: 15.95 kB / 0.525 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.193e-05/0.007911, allocations: 23.69 kB / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.007912, allocations: 0 / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001022/0.008014, allocations: 61.69 kB / 0.5251 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.008027, allocations: 4 kB / 0.5251 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.008032, allocations: 4 kB / 0.5251 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.008047, allocations: 0 / 0.5251 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.837e-05/0.008105, allocations: 11.94 kB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.008111, allocations: 4.719 kB / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.00813, allocations: 4 kB / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.008137, allocations: 4.547 kB / 0.5251 GB, free: 13.43 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.543e-05/0.008212, allocations: 157.5 kB / 0.5252 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.008226, allocations: 4 kB / 0.5253 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.008358, allocations: 65.81 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.00836, allocations: 1.594 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.008365, allocations: 7.938 kB / 0.5253 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.00837, allocations: 3.984 kB / 0.5253 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.008672, allocations: 310 kB / 0.5256 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.008676, allocations: 4 kB / 0.5256 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/0.008743, allocations: 8 kB / 0.5256 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.008745, allocations: 1.812 kB / 0.5256 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.008758, allocations: 15.86 kB / 0.5257 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.00876, allocations: 0 / 0.5257 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.008762, allocations: 0 / 0.5257 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.008951, allocations: 225.4 kB / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.00898, allocations: 7.984 kB / 0.5259 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.008996, allocations: 7.938 kB / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.979e-05/0.009066, allocations: 4 kB / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.009083, allocations: 3.938 kB / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.009091, allocations: 10.73 kB / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.825e-05/0.00913, allocations: 119.2 kB / 0.526 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.00913, allocations: 0 / 0.526 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002713/0.009401, allocations: 23.94 kB / 0.526 GB, free: 12.4 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.0001896/0.009591, allocations: 129.8 kB / 0.5262 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.009704, allocations: 37.7 kB / 0.5262 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.009706, allocations: 0 / 0.5262 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.353e-05/0.00974, allocations: 27.61 kB / 0.5262 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.009983, allocations: 4.75 kB / 0.5262 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006556/0.01064, allocations: 188.9 kB / 0.5264 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.358e-05/0.01068, allocations: 61.78 kB / 0.5265 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.551e-05/0.01072, allocations: 8.375 kB / 0.5265 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.01074, allocations: 12.5 kB / 0.5265 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of SimCode: time 9.51e-07/0.01074, allocations: 0 / 0.5265 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of Templates: time 0.003265/0.01401, allocations: 0.6655 MB / 0.5271 GB, free: 11.3 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.8948488938622177]