Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001381/0.001381, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.00174/0.00174, allocations: 211.9 kB / 22.25 MB, free: 4.863 MB / 14.72 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.299/1.299, allocations: 203.8 MB / 0.5042 GB, free: 4.617 MB / 414.1 MB " [Timeout remaining time 178] 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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002603/0.002603, allocations: 67.88 kB / 0.7187 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5774/0.58, allocations: 102 MB / 0.8183 GB, free: 28.84 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002269/0.5823, allocations: 1.306 MB / 0.8195 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0009596/0.5833, allocations: 0.5376 MB / 0.8201 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.877e-05/0.5833, allocations: 2.188 kB / 0.8201 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.5833, allocations: 0 / 0.8201 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 4e-05/0.5833, allocations: 9.688 kB / 0.8201 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00055/0.5839, allocations: 149.7 kB / 0.8202 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 6.838e-05/0.584, allocations: 24.48 kB / 0.8202 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.988e-05/0.584, allocations: 3.25 kB / 0.8202 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 2.374e-05/0.584, allocations: 16.17 kB / 0.8203 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.5841, allocations: 12.69 kB / 0.8203 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.5841, allocations: 2.188 kB / 0.8203 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004733/0.5846, allocations: 267.6 kB / 0.8205 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.5846, allocations: 12.23 kB / 0.8205 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.5846, allocations: 6.984 kB / 0.8205 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.5849, allocations: 143.8 kB / 0.8207 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.5849, allocations: 0.8125 kB / 0.8207 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5849, allocations: 0.5938 kB / 0.8207 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.5849, allocations: 0.625 kB / 0.8207 GB, free: 27.41 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003739/0.5853, allocations: 298 kB / 0.821 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.5853, allocations: 12.25 kB / 0.821 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.5854, allocations: 2.906 kB / 0.821 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.115e-05/0.5854, allocations: 115.1 kB / 0.8211 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.5855, allocations: 10.66 kB / 0.8211 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.5855, allocations: 2.812 kB / 0.8211 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.5856, allocations: 110.2 kB / 0.8212 GB, free: 26.87 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.5856, allocations: 1.781 kB / 0.8212 GB, free: 26.87 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.5857, allocations: 5.406 kB / 0.8212 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.5857, allocations: 2.062 kB / 0.8212 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.688e-05/0.5857, allocations: 18.03 kB / 0.8212 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.5859, allocations: 108.5 kB / 0.8213 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.586, allocations: 58.98 kB / 0.8214 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.505e-05/0.586, allocations: 29.19 kB / 0.8214 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.5861, allocations: 1.719 kB / 0.8214 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.5861, allocations: 36.69 kB / 0.8215 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.5861, allocations: 1.719 kB / 0.8215 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.001205/0.5873, allocations: 452.3 kB / 0.8219 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.5873, allocations: 56.94 kB / 0.8219 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.867e-05/0.5874, allocations: 94.28 kB / 0.822 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.5874, allocations: 27.3 kB / 0.8221 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.153e-05/0.5874, allocations: 84.77 kB / 0.8221 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.5875, allocations: 39.39 kB / 0.8222 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.5875, allocations: 37.16 kB / 0.8222 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.938e-05/0.5876, allocations: 314.4 kB / 0.8225 GB, free: 25.65 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.604e-05/0.5876, allocations: 22.91 kB / 0.8225 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.985e-05/0.5877, allocations: 22.88 kB / 0.8226 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.187e-05/0.5878, allocations: 62.89 kB / 0.8226 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.5878, allocations: 0 / 0.8226 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001318/0.5879, allocations: 96.44 kB / 0.8227 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.5879, allocations: 9.125 kB / 0.8227 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.5879, allocations: 0 / 0.8227 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.5879, allocations: 1.188 kB / 0.8227 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.588, allocations: 32.62 kB / 0.8228 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.588, allocations: 4.844 kB / 0.8228 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.496e-05/0.5881, allocations: 0 / 0.8228 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.5881, allocations: 4.953 kB / 0.8228 GB, free: 25.54 MB / 0.6387 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 5.186e-05/0.5881, allocations: 117.3 kB / 0.8229 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.5881, allocations: 11.2 kB / 0.8229 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.5883, allocations: 97.95 kB / 0.823 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5883, allocations: 4.641 kB / 0.823 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5884, allocations: 1.469 kB / 0.823 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.5884, allocations: 5.188 kB / 0.823 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.5887, allocations: 292.2 kB / 0.8233 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5887, allocations: 5.125 kB / 0.8233 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.5888, allocations: 20.58 kB / 0.8233 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.5888, allocations: 3.938 kB / 0.8233 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.5888, allocations: 2.547 kB / 0.8233 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.5888, allocations: 0 / 0.8233 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5888, allocations: 2.062 kB / 0.8233 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.5891, allocations: 225.4 kB / 0.8235 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-06/0.5891, allocations: 3.281 kB / 0.8235 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.5891, allocations: 5.641 kB / 0.8235 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.361e-05/0.5892, allocations: 6.641 kB / 0.8235 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.5892, allocations: 6.078 kB / 0.8235 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.5892, allocations: 8.312 kB / 0.8235 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.034e-05/0.5892, allocations: 77.11 kB / 0.8236 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.5892, allocations: 0 / 0.8236 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002761/0.5895, allocations: 38.36 kB / 0.8237 GB, free: 24.81 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0002061/0.5897, allocations: 134.4 kB / 0.8238 GB, free: 24.71 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001518/0.5899, allocations: 54.81 kB / 0.8238 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5899, allocations: 5.906 kB / 0.8238 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.896e-05/0.5899, allocations: 33.7 kB / 0.8239 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.5902, allocations: 8.969 kB / 0.8239 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.5907, allocations: 293.1 kB / 0.8242 GB, free: 24.44 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.988e-05/0.5907, allocations: 70.52 kB / 0.8242 GB, free: 24.37 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.665e-05/0.5908, allocations: 20.7 kB / 0.8242 GB, free: 24.36 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.5908, allocations: 11.31 kB / 0.8243 GB, free: 24.35 MB / 0.6387 GB Notification: Performance of SimCode: time 3.6e-07/0.5908, allocations: 1.25 kB / 0.8243 GB, free: 24.35 MB / 0.6387 GB Notification: Performance of Templates: time 0.004147/0.5949, allocations: 0.9429 MB / 0.8252 GB, free: 24.25 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.6517111379653215] Failed to read output from testmodel.py, exit status != 0: 0.6041622310876846 0.615244038 0.027729410000000003 Calling exit ...