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.000878/0.000878, allocations: 100.4 kB / 19.7 MB, free: 452 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.0009328/0.0009328, allocations: 212.1 kB / 23 MB, free: 2.98 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.9116/0.9116, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.7643/0.7643, allocations: 203.8 MB / 0.5049 GB, free: 10.4 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.0009145/0.0009145, allocations: 71.8 kB / 0.7194 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5893/0.5902, allocations: 102 MB / 0.819 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001668/0.5919, allocations: 1.289 MB / 0.8203 GB, free: 436 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007092/0.5926, allocations: 0.5476 MB / 0.8208 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.5926, allocations: 0 / 0.8208 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.406e-05/0.5926, allocations: 4.734 kB / 0.8208 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.381e-05/0.5927, allocations: 0.6562 kB / 0.8208 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.5931, allocations: 159.6 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.755e-05/0.5932, allocations: 28.8 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.5932, allocations: 2.219 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.606e-05/0.5933, allocations: 17.86 kB / 0.821 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.882e-05/0.5933, allocations: 11.53 kB / 0.821 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.5933, allocations: 3.938 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/0.5937, allocations: 268.3 kB / 0.8213 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.5937, allocations: 9.281 kB / 0.8213 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.118e-05/0.5937, allocations: 8.469 kB / 0.8213 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.5939, allocations: 148.3 kB / 0.8215 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.5939, allocations: 4 kB / 0.8215 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5939, allocations: 0 / 0.8215 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.5939, allocations: 0 / 0.8215 GB, free: 15.85 MB / 0.6198 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.0003419/0.5943, allocations: 293.3 kB / 0.8217 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.5943, allocations: 11.16 kB / 0.8217 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.5943, allocations: 1.688 kB / 0.8217 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.423e-05/0.5944, allocations: 113.2 kB / 0.8219 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.5944, allocations: 5.953 kB / 0.8219 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.5944, allocations: 4.375 kB / 0.8219 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.5946, allocations: 97.89 kB / 0.822 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.5946, allocations: 5.438 kB / 0.822 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.5946, allocations: 7.938 kB / 0.822 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5946, allocations: 5.312 kB / 0.822 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.627e-05/0.5946, allocations: 19.62 kB / 0.822 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.5948, allocations: 106.6 kB / 0.8221 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.709e-05/0.5949, allocations: 57.25 kB / 0.8222 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.5949, allocations: 26.02 kB / 0.8222 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.5949, allocations: 0.5625 kB / 0.8222 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.5949, allocations: 34.81 kB / 0.8222 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 6.72e-07/0.5949, allocations: 3.938 kB / 0.8222 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.00081/0.5958, allocations: 462.2 kB / 0.8227 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.5958, allocations: 54.33 kB / 0.8227 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.531e-05/0.5958, allocations: 97.67 kB / 0.8228 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.5958, allocations: 26.89 kB / 0.8228 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.766e-05/0.5959, allocations: 81.27 kB / 0.8229 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.5959, allocations: 44.36 kB / 0.8229 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.5959, allocations: 31.83 kB / 0.823 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.226e-05/0.596, allocations: 320.2 kB / 0.8233 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.405e-05/0.5961, allocations: 22.03 kB / 0.8233 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.5961, allocations: 19.59 kB / 0.8233 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.356e-05/0.5962, allocations: 62.56 kB / 0.8234 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.5962, allocations: 0 / 0.8234 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001052/0.5963, allocations: 100.6 kB / 0.8235 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.5963, allocations: 10.58 kB / 0.8235 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5963, allocations: 0 / 0.8235 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.5963, allocations: 0 / 0.8235 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.353e-05/0.5964, allocations: 25.48 kB / 0.8235 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.5964, allocations: 4.094 kB / 0.8235 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.26e-05/0.5964, allocations: 4 kB / 0.8235 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.5964, allocations: 2.125 kB / 0.8235 GB, free: 13.96 MB / 0.6198 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.375e-05/0.5965, allocations: 116.5 kB / 0.8236 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-06/0.5965, allocations: 8.375 kB / 0.8236 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.5966, allocations: 115.4 kB / 0.8237 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.5966, allocations: 3.688 kB / 0.8238 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.5966, allocations: 0.7969 kB / 0.8238 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5966, allocations: 0.9844 kB / 0.8238 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.5969, allocations: 295.7 kB / 0.824 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.5969, allocations: 1.125 kB / 0.824 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.112e-05/0.597, allocations: 23.88 kB / 0.8241 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.597, allocations: 1.156 kB / 0.8241 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.597, allocations: 5.312 kB / 0.8241 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.597, allocations: 0 / 0.8241 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.597, allocations: 0.9375 kB / 0.8241 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004475/0.5974, allocations: 226.5 kB / 0.8243 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-06/0.5974, allocations: 2.906 kB / 0.8243 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.5974, allocations: 4 kB / 0.8243 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.954e-05/0.5975, allocations: 2.781 kB / 0.8243 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.5975, allocations: 9.516 kB / 0.8243 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.5975, allocations: 7.062 kB / 0.8243 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.359e-05/0.5975, allocations: 83.64 kB / 0.8244 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5975, allocations: 0 / 0.8244 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001695/0.5977, allocations: 31.94 kB / 0.8244 GB, free: 13.23 MB / 0.6198 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.0001388/0.5978, allocations: 132.4 kB / 0.8245 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.598, allocations: 58.84 kB / 0.8246 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.598, allocations: 3.938 kB / 0.8246 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.357e-05/0.598, allocations: 30.69 kB / 0.8246 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.5981, allocations: 17.31 kB / 0.8247 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/0.5986, allocations: 307.3 kB / 0.8249 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.407e-05/0.5986, allocations: 78.02 kB / 0.825 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.5986, allocations: 13.56 kB / 0.825 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.5986, allocations: 0 / 0.825 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of Templates: time 0.002491/0.6011, allocations: 1.144 MB / 0.8261 GB, free: 12.64 MB / 0.6198 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 os._exit(0), Time elapsed: 5.928896353114396] Failed to read output from testmodel.py, exit status != 0: 0.6068584211170673 0.6174264549999999 0.021455045000000002 Calling exit ...