Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.001331/0.001331, 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.001576/0.001576, 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.9186/0.9186, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.8221/0.8221, allocations: 154.9 MB / 414.8 MB, free: 408 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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.5207 GB, free: 1.812 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.723e-05, allocations: 7.891 kB / 0.5207 GB, free: 1.809 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002142/0.002169, allocations: 1.513 MB / 0.5222 GB, free: 312 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.003224, allocations: 0.6037 MB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.216e-05/0.003276, allocations: 0 / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.123e-05/0.003328, allocations: 3.938 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.742e-05/0.003405, allocations: 8.719 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006966/0.004102, allocations: 164.6 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.004203, allocations: 49.09 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.053e-05/0.004253, allocations: 7.984 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.611e-05/0.00434, allocations: 27.92 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.495e-05/0.004384, allocations: 25.95 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.004404, allocations: 4 kB / 0.523 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003741/0.004778, allocations: 271.4 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.969e-05/0.004807, allocations: 19.91 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.004839, allocations: 15.98 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.005113, allocations: 179.4 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.005117, allocations: 2 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.473e-06/0.005118, allocations: 3.938 kB / 0.5235 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.005125, allocations: 4 kB / 0.5235 GB, free: 14.94 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005513/0.005676, allocations: 416.1 kB / 0.5239 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.005721, allocations: 12.53 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.936e-05/0.005781, allocations: 16.89 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.005889, allocations: 109.6 kB / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.00592, allocations: 4.375 kB / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.005947, allocations: 13.19 kB / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.006161, allocations: 130.3 kB / 0.5242 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.006174, allocations: 1.25 kB / 0.5242 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.006188, allocations: 384 / 0.5242 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.006201, allocations: 4.375 kB / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.784e-05/0.006259, allocations: 32.89 kB / 0.5242 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.006727, allocations: 309.2 kB / 0.5245 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.006876, allocations: 74.97 kB / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/0.006903, allocations: 19.62 kB / 0.5246 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.006923, allocations: 1.031 kB / 0.5246 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.006955, allocations: 45.38 kB / 0.5247 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 2.455e-06/0.006957, allocations: 0 / 0.5247 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.000982/0.007939, allocations: 458.3 kB / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.007972, allocations: 51.41 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.995e-05/0.008062, allocations: 165.1 kB / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.008075, allocations: 29.7 kB / 0.5253 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.008124, allocations: 130.9 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.008158, allocations: 39.64 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.008205, allocations: 43.3 kB / 0.5255 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.008329, allocations: 0.4883 MB / 0.526 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.571e-05/0.008365, allocations: 15.98 kB / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.906e-05/0.008394, allocations: 23.98 kB / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.954e-05/0.008464, allocations: 57.66 kB / 0.5261 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.008465, allocations: 0 / 0.5261 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001132/0.008578, allocations: 93.75 kB / 0.5262 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.008591, allocations: 8 kB / 0.5262 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.008597, allocations: 0 / 0.5262 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.008611, allocations: 0 / 0.5262 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.00872, allocations: 27.92 kB / 0.5262 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.008726, allocations: 320 / 0.5262 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.62e-05/0.008752, allocations: 9.5 kB / 0.5262 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.00876, allocations: 4 kB / 0.5262 GB, free: 11.89 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 (13): * Single equations (assignments): 13 * 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 8.012e-05/0.00884, allocations: 164.5 kB / 0.5264 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.008861, allocations: 4.5 kB / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.009028, allocations: 121.6 kB / 0.5265 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.00903, allocations: 2.906 kB / 0.5265 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.009034, allocations: 0 / 0.5265 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.009039, allocations: 4 kB / 0.5265 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.009355, allocations: 345.3 kB / 0.5268 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.009359, allocations: 4 kB / 0.5269 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.21e-05/0.009451, allocations: 27.92 kB / 0.5269 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.009456, allocations: 4 kB / 0.5269 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.009468, allocations: 6.422 kB / 0.5269 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.00947, allocations: 0 / 0.5269 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.009472, allocations: 0 / 0.5269 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.00969, allocations: 262.6 kB / 0.5271 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.009701, allocations: 7.984 kB / 0.5271 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.009718, allocations: 4 kB / 0.5271 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.966e-05/0.009767, allocations: 5.438 kB / 0.5272 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.009791, allocations: 3.984 kB / 0.5272 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.009797, allocations: 8 kB / 0.5272 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.009842, allocations: 127.1 kB / 0.5273 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009842, allocations: 1.031 kB / 0.5273 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002057/0.01005, allocations: 47.8 kB / 0.5273 GB, free: 10.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002062/0.01025, allocations: 128.2 kB / 0.5275 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.0104, allocations: 63.59 kB / 0.5275 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.0104, allocations: 5.531 kB / 0.5275 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.78e-05/0.01044, allocations: 43.59 kB / 0.5276 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.01065, allocations: 8.891 kB / 0.5276 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007278/0.01138, allocations: 276 kB / 0.5278 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.081e-05/0.01143, allocations: 64.88 kB / 0.5279 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.93e-05/0.01147, allocations: 7.078 kB / 0.5279 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.01151, allocations: 16.5 kB / 0.5279 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of SimCode: time 1.102e-06/0.01151, allocations: 0 / 0.5279 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.003687/0.01519, allocations: 1.252 MB / 0.5291 GB, free: 8.938 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9180645681917667]