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.0008647/0.0008647, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0008174/0.0008174, allocations: 215.7 kB / 23.01 MB, free: 3.109 MB / 13.93 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.8749/0.8749, allocations: 230.6 MB / 256.8 MB, free: 3.438 MB / 202.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-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 0.7339/0.7339, allocations: 203.8 MB / 0.5049 GB, free: 0.7461 MB / 410.7 MB " [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_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.001021/0.001021, allocations: 67.8 kB / 0.7195 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.441, allocations: 102 MB / 0.8191 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001501/0.4425, allocations: 1.298 MB / 0.8204 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006666/0.4431, allocations: 0.6167 MB / 0.821 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.146e-05/0.4432, allocations: 3.938 kB / 0.821 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.4432, allocations: 7.922 kB / 0.821 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.328e-05/0.4432, allocations: 7.984 kB / 0.821 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.4436, allocations: 149 kB / 0.8211 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.549e-05/0.4436, allocations: 27.86 kB / 0.8212 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.392e-05/0.4437, allocations: 0 / 0.8212 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.402e-05/0.4437, allocations: 19.97 kB / 0.8212 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.015e-05/0.4437, allocations: 11.92 kB / 0.8212 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.4438, allocations: 4 kB / 0.8212 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005432/0.4443, allocations: 343.3 kB / 0.8215 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.4443, allocations: 15.94 kB / 0.8215 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.4443, allocations: 11.92 kB / 0.8215 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.4445, allocations: 150.2 kB / 0.8217 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4445, allocations: 4 kB / 0.8217 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4445, allocations: 0 / 0.8217 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.4445, allocations: 0 / 0.8217 GB, free: 11.91 MB / 0.6042 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.0002881/0.4448, allocations: 293.9 kB / 0.822 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.4448, allocations: 9.469 kB / 0.822 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.4449, allocations: 0.9375 kB / 0.822 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.321e-05/0.4449, allocations: 122.4 kB / 0.8221 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.4449, allocations: 4.375 kB / 0.8221 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.445, allocations: 4.375 kB / 0.8221 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.979e-05/0.4451, allocations: 50.25 kB / 0.8222 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.4451, allocations: 4.188 kB / 0.8222 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.4451, allocations: 3.938 kB / 0.8222 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.4451, allocations: 4 kB / 0.8222 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.154e-05/0.4451, allocations: 19.92 kB / 0.8222 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001164/0.4452, allocations: 132.8 kB / 0.8223 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.774e-05/0.4453, allocations: 62.55 kB / 0.8224 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.4453, allocations: 24.86 kB / 0.8224 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.4454, allocations: 8.172 kB / 0.8224 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.4454, allocations: 38.53 kB / 0.8224 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 6.91e-07/0.4454, allocations: 0 / 0.8224 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0007018/0.4461, allocations: 451.3 kB / 0.8229 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.4461, allocations: 63.33 kB / 0.8229 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.565e-05/0.4462, allocations: 89.86 kB / 0.823 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.4462, allocations: 29.7 kB / 0.823 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.047e-05/0.4462, allocations: 84.14 kB / 0.8231 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.4462, allocations: 39.8 kB / 0.8232 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.4462, allocations: 33.72 kB / 0.8232 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.732e-05/0.4463, allocations: 318.8 kB / 0.8235 GB, free: 9.836 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.815e-05/0.4463, allocations: 19.98 kB / 0.8235 GB, free: 9.816 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/0.4464, allocations: 24 kB / 0.8235 GB, free: 9.793 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.394e-05/0.4464, allocations: 55.97 kB / 0.8236 GB, free: 9.738 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4464, allocations: 0 / 0.8236 GB, free: 9.738 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.093e-05/0.4465, allocations: 105.5 kB / 0.8237 GB, free: 9.629 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.4465, allocations: 4 kB / 0.8237 GB, free: 9.625 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4465, allocations: 7.938 kB / 0.8237 GB, free: 9.617 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.4466, allocations: 4 kB / 0.8237 GB, free: 9.613 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.072e-05/0.4466, allocations: 23.98 kB / 0.8237 GB, free: 9.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.4466, allocations: 0 / 0.8237 GB, free: 9.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.4466, allocations: 8 kB / 0.8237 GB, free: 9.582 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.4466, allocations: 0 / 0.8237 GB, free: 9.582 MB / 0.6042 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.263e-05/0.4467, allocations: 114.8 kB / 0.8239 GB, free: 9.461 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-06/0.4467, allocations: 11.89 kB / 0.8239 GB, free: 9.449 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.4468, allocations: 110 kB / 0.824 GB, free: 9.336 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.4468, allocations: 4 kB / 0.824 GB, free: 9.332 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.4468, allocations: 4 kB / 0.824 GB, free: 9.328 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4468, allocations: 0 / 0.824 GB, free: 9.328 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.4471, allocations: 321.5 kB / 0.8243 GB, free: 8.965 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4471, allocations: 0 / 0.8243 GB, free: 8.965 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.327e-05/0.4472, allocations: 23.98 kB / 0.8243 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4472, allocations: 0 / 0.8243 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.4472, allocations: 0 / 0.8243 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.4472, allocations: 0 / 0.8243 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.4472, allocations: 4.094 kB / 0.8243 GB, free: 8.938 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.4473, allocations: 225.5 kB / 0.8245 GB, free: 8.703 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-06/0.4473, allocations: 4.031 kB / 0.8245 GB, free: 8.699 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.4473, allocations: 7.984 kB / 0.8245 GB, free: 8.691 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.429e-05/0.4474, allocations: 3.938 kB / 0.8245 GB, free: 8.688 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.4474, allocations: 7.984 kB / 0.8245 GB, free: 8.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.4474, allocations: 8 kB / 0.8246 GB, free: 8.672 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.998e-05/0.4474, allocations: 79.34 kB / 0.8246 GB, free: 8.594 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.4474, allocations: 0 / 0.8246 GB, free: 8.594 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001613/0.4476, allocations: 35.88 kB / 0.8247 GB, free: 8.559 MB / 0.6042 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.0001343/0.4477, allocations: 131.1 kB / 0.8248 GB, free: 8.422 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.4478, allocations: 59.86 kB / 0.8248 GB, free: 8.363 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.4478, allocations: 0 / 0.8248 GB, free: 8.363 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.899e-05/0.4479, allocations: 35.92 kB / 0.8249 GB, free: 8.328 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.448, allocations: 5.719 kB / 0.8249 GB, free: 8.324 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.4483, allocations: 314.9 kB / 0.8252 GB, free: 7.984 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.4485, allocations: 0.6885 MB / 0.8259 GB, free: 7.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.4485, allocations: 15.44 kB / 0.8259 GB, free: 7.254 MB / 0.6042 GB Notification: Performance of SimCode: time 3.81e-07/0.4485, allocations: 0 / 0.8259 GB, free: 7.254 MB / 0.6042 GB Notification: Performance of Templates: time 0.001673/0.4502, allocations: 1.129 MB / 0.827 GB, free: 6.133 MB / 0.6042 GB " [Timeout remaining time 660] 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 os._exit(0), Time elapsed: 5.334441853919998] Failed to read output from testmodel.py, exit status != 0: 0.4549594458658248 0.461870253 0.015886757 Calling exit ...