Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001007/0.001007, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001175/0.001175, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.023/1.023, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8665/0.8665, allocations: 154.6 MB / 415.6 MB, free: 0.5195 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5215 GB, free: 1.91 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.996e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001915/0.001935, allocations: 1.31 MB / 0.5228 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008346/0.00277, allocations: 0.5757 MB / 0.5234 GB, free: 32 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.295e-05/0.002803, allocations: 0 / 0.5234 GB, free: 32 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.002824, allocations: 1.219 kB / 0.5234 GB, free: 32 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.827e-05/0.002872, allocations: 3.938 kB / 0.5234 GB, free: 28 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.003434, allocations: 157 kB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.764e-05/0.003492, allocations: 11.94 kB / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.003529, allocations: 0 / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.337e-05/0.003582, allocations: 19.92 kB / 0.5236 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.616e-05/0.003629, allocations: 9.703 kB / 0.5236 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.003641, allocations: 0 / 0.5236 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003268/0.003968, allocations: 271.4 kB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.003982, allocations: 4 kB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.59e-05/0.003998, allocations: 9.547 kB / 0.5238 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.0042, allocations: 159.5 kB / 0.524 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004202, allocations: 0 / 0.524 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004203, allocations: 0 / 0.524 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.299e-06/0.004208, allocations: 0.75 kB / 0.524 GB, free: 15.4 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.000322/0.00453, allocations: 380 kB / 0.5244 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.004566, allocations: 13.5 kB / 0.5244 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.004596, allocations: 5.234 kB / 0.5244 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.307e-05/0.004679, allocations: 116.5 kB / 0.5245 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.004689, allocations: 384 / 0.5245 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.004705, allocations: 5.719 kB / 0.5245 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.6e-05/0.004781, allocations: 63.95 kB / 0.5245 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.004787, allocations: 4.125 kB / 0.5246 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.004793, allocations: 384 / 0.5246 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.004798, allocations: 1.312 kB / 0.5246 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.037e-05/0.004818, allocations: 11.94 kB / 0.5246 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/0.004927, allocations: 116.2 kB / 0.5247 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.005065, allocations: 42.98 kB / 0.5247 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.82e-05/0.005084, allocations: 15.69 kB / 0.5247 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.005097, allocations: 0 / 0.5247 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.00512, allocations: 41.39 kB / 0.5248 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 6.71e-07/0.005121, allocations: 0 / 0.5248 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0003982/0.005519, allocations: 230.6 kB / 0.525 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.005547, allocations: 51.41 kB / 0.525 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.213e-05/0.005619, allocations: 162.5 kB / 0.5252 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.005632, allocations: 26.52 kB / 0.5252 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/0.005665, allocations: 134.8 kB / 0.5253 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.005693, allocations: 27.78 kB / 0.5254 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.005721, allocations: 19.91 kB / 0.5254 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.005833, allocations: 0.4898 MB / 0.5259 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/0.005845, allocations: 7.984 kB / 0.5259 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.146e-05/0.005857, allocations: 4 kB / 0.5259 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.697e-05/0.005894, allocations: 23.69 kB / 0.5259 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.005895, allocations: 0.9375 kB / 0.5259 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.455e-05/0.005969, allocations: 61.62 kB / 0.526 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.005986, allocations: 11.06 kB / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.005991, allocations: 0 / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.006, allocations: 0 / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.32e-05/0.006044, allocations: 20.86 kB / 0.526 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.006047, allocations: 4 kB / 0.526 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.281e-05/0.00606, allocations: 3.938 kB / 0.526 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.006064, allocations: 2.938 kB / 0.526 GB, free: 13.12 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 6.492e-05/0.006129, allocations: 156.6 kB / 0.5262 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.041e-05/0.006139, allocations: 4 kB / 0.5262 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.00624, allocations: 65.8 kB / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.006241, allocations: 0 / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.006243, allocations: 0 / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.006247, allocations: 7.875 kB / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.006454, allocations: 296.5 kB / 0.5265 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.006456, allocations: 0 / 0.5265 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.006501, allocations: 16.11 kB / 0.5265 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.006504, allocations: 4 kB / 0.5265 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.006511, allocations: 4 kB / 0.5265 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.006512, allocations: 0 / 0.5265 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.006514, allocations: 3.938 kB / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.006652, allocations: 220.2 kB / 0.5268 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.159e-05/0.006673, allocations: 13.23 kB / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-06/0.006682, allocations: 0 / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.757e-05/0.00672, allocations: 0 / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.006737, allocations: 11.92 kB / 0.5268 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.006742, allocations: 0.625 kB / 0.5268 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.448e-05/0.006776, allocations: 127.6 kB / 0.5269 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.006776, allocations: 0 / 0.5269 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001745/0.006951, allocations: 25.69 kB / 0.5269 GB, free: 12.11 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.0001495/0.0071, allocations: 119.1 kB / 0.527 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.52e-05/0.007175, allocations: 35.67 kB / 0.5271 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.007177, allocations: 2.438 kB / 0.5271 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.971e-05/0.007197, allocations: 23.61 kB / 0.5271 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.007359, allocations: 4.938 kB / 0.5271 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/0.007815, allocations: 195.5 kB / 0.5273 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.408e-05/0.007849, allocations: 59.91 kB / 0.5273 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.503e-05/0.007874, allocations: 9.312 kB / 0.5274 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.007918, allocations: 74.7 kB / 0.5274 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of SimCode: time 9.12e-07/0.007918, allocations: 1.031 kB / 0.5274 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.002728/0.01065, allocations: 0.7516 MB / 0.5282 GB, free: 10.87 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9072784408926964]