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.001058/0.001058, allocations: 88.22 kB / 19.65 MB, free: 276 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.001002/0.001002, allocations: 169 kB / 23.02 MB, free: 1.547 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.9415/0.9415, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.7784/0.7784, allocations: 154.8 MB / 414.7 MB, free: 0.4922 MB / 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.472e-06/1.472e-06, allocations: 0 / 0.5206 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.607e-05, allocations: 4.281 kB / 0.5206 GB, free: 0.832 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001518/0.001534, allocations: 1.329 MB / 0.5219 GB, free: 15.52 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007658/0.0023, allocations: 0.5754 MB / 0.5224 GB, free: 14.95 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.499e-05/0.002325, allocations: 0 / 0.5224 GB, free: 14.95 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.002346, allocations: 5.406 kB / 0.5224 GB, free: 14.95 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.388e-05/0.00238, allocations: 3.984 kB / 0.5224 GB, free: 14.94 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.002815, allocations: 148.1 kB / 0.5226 GB, free: 14.8 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.263e-05/0.002867, allocations: 23.91 kB / 0.5226 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.002903, allocations: 1.156 kB / 0.5226 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.674e-05/0.00295, allocations: 11.98 kB / 0.5226 GB, free: 14.76 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.179e-05/0.002992, allocations: 7.938 kB / 0.5226 GB, free: 14.75 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.003004, allocations: 1.406 kB / 0.5226 GB, free: 14.75 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.003293, allocations: 275.4 kB / 0.5229 GB, free: 14.48 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.003307, allocations: 3.984 kB / 0.5229 GB, free: 14.48 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.792e-05/0.003325, allocations: 8 kB / 0.5229 GB, free: 14.47 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.003516, allocations: 152.3 kB / 0.523 GB, free: 14.32 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003518, allocations: 0 / 0.523 GB, free: 14.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003519, allocations: 1.281 kB / 0.523 GB, free: 14.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.105e-06/0.003522, allocations: 0 / 0.523 GB, free: 14.32 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.0003088/0.003831, allocations: 388 kB / 0.5234 GB, free: 13.91 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.003865, allocations: 13.38 kB / 0.5234 GB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.003898, allocations: 1.281 kB / 0.5234 GB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.414e-05/0.003972, allocations: 116.6 kB / 0.5235 GB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.003982, allocations: 384 / 0.5235 GB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.004004, allocations: 9.094 kB / 0.5235 GB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.575e-05/0.00409, allocations: 63.95 kB / 0.5236 GB, free: 13.67 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.004096, allocations: 1.938 kB / 0.5236 GB, free: 13.67 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.004104, allocations: 384 / 0.5236 GB, free: 13.67 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.00411, allocations: 384 / 0.5236 GB, free: 13.67 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.565e-05/0.004136, allocations: 15.92 kB / 0.5236 GB, free: 13.66 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.004253, allocations: 116.6 kB / 0.5237 GB, free: 13.51 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.004414, allocations: 57.17 kB / 0.5238 GB, free: 13.44 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.448e-05/0.004438, allocations: 15.69 kB / 0.5238 GB, free: 13.42 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.004455, allocations: 0 / 0.5238 GB, free: 13.42 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.004475, allocations: 37.39 kB / 0.5238 GB, free: 13.38 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 5.71e-07/0.004476, allocations: 5.406 kB / 0.5238 GB, free: 13.37 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004375/0.004913, allocations: 237.7 kB / 0.5241 GB, free: 13.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.004938, allocations: 59.34 kB / 0.5241 GB, free: 13.03 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.682e-05/0.004995, allocations: 153.9 kB / 0.5243 GB, free: 12.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.005005, allocations: 30.67 kB / 0.5243 GB, free: 12.83 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.005035, allocations: 126.9 kB / 0.5244 GB, free: 12.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.005059, allocations: 24.81 kB / 0.5244 GB, free: 12.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.005084, allocations: 23.38 kB / 0.5245 GB, free: 12.64 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.005189, allocations: 492.1 kB / 0.5249 GB, free: 12.15 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.005207, allocations: 16.86 kB / 0.525 GB, free: 12.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.222e-05/0.005219, allocations: 7.984 kB / 0.525 GB, free: 12.13 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.861e-05/0.005258, allocations: 32.62 kB / 0.525 GB, free: 12.09 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.005258, allocations: 0 / 0.525 GB, free: 12.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.717e-05/0.005326, allocations: 61.64 kB / 0.5251 GB, free: 12.03 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.005336, allocations: 8.5 kB / 0.5251 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.00534, allocations: 0.6875 kB / 0.5251 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.005352, allocations: 0 / 0.5251 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.734e-05/0.00539, allocations: 17.14 kB / 0.5251 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.005395, allocations: 3.938 kB / 0.5251 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.708e-06/0.005405, allocations: 4 kB / 0.5251 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.005409, allocations: 0.5938 kB / 0.5251 GB, free: 12 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 5.618e-05/0.005465, allocations: 166.3 kB / 0.5252 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-06/0.005471, allocations: 0 / 0.5252 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.006e-05/0.005561, allocations: 69.78 kB / 0.5253 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.005564, allocations: 4 kB / 0.5253 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.005568, allocations: 3.938 kB / 0.5253 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.00557, allocations: 1.719 kB / 0.5253 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.005775, allocations: 313.1 kB / 0.5256 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005776, allocations: 192 / 0.5256 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.005813, allocations: 15.98 kB / 0.5256 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.005815, allocations: 0.6875 kB / 0.5256 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.005823, allocations: 7.938 kB / 0.5256 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.005825, allocations: 5.219 kB / 0.5256 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.005826, allocations: 0 / 0.5256 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.005959, allocations: 227.6 kB / 0.5259 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.005972, allocations: 6.688 kB / 0.5259 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.005983, allocations: 7.875 kB / 0.5259 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.772e-05/0.00602, allocations: 4 kB / 0.5259 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.006035, allocations: 7.984 kB / 0.5259 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.00604, allocations: 4 kB / 0.5259 GB, free: 11.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.864e-05/0.006069, allocations: 119.2 kB / 0.526 GB, free: 10.97 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006069, allocations: 4 kB / 0.526 GB, free: 10.97 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001608/0.006229, allocations: 18.69 kB / 0.526 GB, free: 10.95 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.0001235/0.006353, allocations: 127.1 kB / 0.5261 GB, free: 10.82 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.491e-05/0.006428, allocations: 39.67 kB / 0.5262 GB, free: 10.78 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.006429, allocations: 0 / 0.5262 GB, free: 10.78 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.798e-05/0.006447, allocations: 19.62 kB / 0.5262 GB, free: 10.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.006595, allocations: 9.719 kB / 0.5262 GB, free: 10.75 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004404/0.007035, allocations: 193.4 kB / 0.5264 GB, free: 10.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.346e-05/0.007068, allocations: 63.22 kB / 0.5265 GB, free: 10.46 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.013e-05/0.007089, allocations: 4.391 kB / 0.5265 GB, free: 10.46 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/0.007108, allocations: 12.5 kB / 0.5265 GB, free: 10.45 MB / 458.7 MB Notification: Performance of SimCode: time 3.81e-07/0.007108, allocations: 0 / 0.5265 GB, free: 10.45 MB / 458.7 MB Notification: Performance of Templates: time 0.002137/0.009246, allocations: 0.6803 MB / 0.5271 GB, free: 9.852 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: 3.739903762936592]