Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.000755/0.000755, allocations: 114.4 kB / 19.7 MB, free: 0.5312 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.0007931/0.0007931, allocations: 211.8 kB / 23 MB, free: 3.129 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.8989/0.8989, allocations: 230.6 MB / 256.8 MB, free: 3.477 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.7456/0.7456, allocations: 203.8 MB / 0.5049 GB, free: 0.6758 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.0008482/0.0008482, allocations: 67.91 kB / 0.7195 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001786/0.4018, allocations: 1.506 MB / 0.8206 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007302/0.4025, allocations: 0.6309 MB / 0.8212 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.508e-05/0.4026, allocations: 1.219 kB / 0.8212 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.4026, allocations: 6.672 kB / 0.8212 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.704e-05/0.4026, allocations: 9.812 kB / 0.8212 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.4031, allocations: 160.6 kB / 0.8213 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.033e-05/0.4032, allocations: 53.33 kB / 0.8214 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.4032, allocations: 9.188 kB / 0.8214 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.11e-05/0.4033, allocations: 20.97 kB / 0.8214 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.016e-05/0.4033, allocations: 25.53 kB / 0.8215 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.4033, allocations: 8.484 kB / 0.8215 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003947/0.4037, allocations: 340.8 kB / 0.8218 GB, free: 23.53 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.4037, allocations: 21.75 kB / 0.8218 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.4038, allocations: 22.28 kB / 0.8218 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.404, allocations: 175.5 kB / 0.822 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.404, allocations: 1.344 kB / 0.822 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.393e-06/0.404, allocations: 1.344 kB / 0.822 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.404, allocations: 0 / 0.822 GB, free: 23.45 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003932/0.4044, allocations: 337.1 kB / 0.8223 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.4044, allocations: 10.25 kB / 0.8223 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.4045, allocations: 7.578 kB / 0.8223 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.063e-05/0.4045, allocations: 113.1 kB / 0.8224 GB, free: 23 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.4046, allocations: 4.406 kB / 0.8224 GB, free: 23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.4046, allocations: 9.547 kB / 0.8225 GB, free: 23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.4047, allocations: 76.72 kB / 0.8225 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.4047, allocations: 8.719 kB / 0.8225 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.4048, allocations: 5.75 kB / 0.8225 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4048, allocations: 1.875 kB / 0.8225 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.4049, allocations: 52.56 kB / 0.8226 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.4053, allocations: 287.4 kB / 0.8229 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.4054, allocations: 82.31 kB / 0.8229 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.8e-05/0.4055, allocations: 30.23 kB / 0.823 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.4055, allocations: 4.969 kB / 0.823 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.4055, allocations: 32.42 kB / 0.823 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 7.62e-07/0.4055, allocations: 0.5312 kB / 0.823 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0009379/0.4065, allocations: 0.4969 MB / 0.8235 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.4065, allocations: 52.91 kB / 0.8235 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.58e-05/0.4065, allocations: 110.4 kB / 0.8237 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/0.4065, allocations: 26.36 kB / 0.8237 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.487e-05/0.4066, allocations: 95.75 kB / 0.8238 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.4066, allocations: 38.89 kB / 0.8238 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.4066, allocations: 29.44 kB / 0.8238 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.901e-05/0.4066, allocations: 323.1 kB / 0.8241 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.022e-05/0.4067, allocations: 32.08 kB / 0.8242 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.899e-05/0.4068, allocations: 33.03 kB / 0.8242 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.407, allocations: 75.03 kB / 0.8243 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.407, allocations: 0 / 0.8243 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001896/0.4071, allocations: 119.9 kB / 0.8244 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.4072, allocations: 4.562 kB / 0.8244 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4072, allocations: 4.812 kB / 0.8244 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.4072, allocations: 1.609 kB / 0.8244 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.728e-05/0.4073, allocations: 33.27 kB / 0.8244 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.4073, allocations: 1.062 kB / 0.8244 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.934e-05/0.4073, allocations: 9.25 kB / 0.8244 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.4073, allocations: 6.906 kB / 0.8244 GB, free: 21.45 MB / 0.6355 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 4.071e-05/0.4073, allocations: 115.6 kB / 0.8246 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.4074, allocations: 2.469 kB / 0.8246 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.4076, allocations: 130.4 kB / 0.8247 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4076, allocations: 5.344 kB / 0.8247 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.4076, allocations: 0 / 0.8247 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4076, allocations: 6.672 kB / 0.8247 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/0.4079, allocations: 353.3 kB / 0.825 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4079, allocations: 0 / 0.825 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.762e-05/0.4079, allocations: 30.23 kB / 0.8251 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4079, allocations: 3.938 kB / 0.8251 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.408, allocations: 10.34 kB / 0.8251 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.408, allocations: 5.719 kB / 0.8251 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.408, allocations: 0.9844 kB / 0.8251 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.4082, allocations: 254.2 kB / 0.8253 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-06/0.4082, allocations: 3.156 kB / 0.8253 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.4082, allocations: 5.625 kB / 0.8253 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.725e-05/0.4083, allocations: 10.3 kB / 0.8253 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.4083, allocations: 10.2 kB / 0.8254 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.4083, allocations: 4.641 kB / 0.8254 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.592e-05/0.4083, allocations: 79.83 kB / 0.8254 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4083, allocations: 3.938 kB / 0.8254 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001741/0.4085, allocations: 38.91 kB / 0.8255 GB, free: 20.66 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0001296/0.4086, allocations: 128.6 kB / 0.8256 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001906/0.4088, allocations: 77.19 kB / 0.8257 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4088, allocations: 1.125 kB / 0.8257 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.857e-05/0.4089, allocations: 49.11 kB / 0.8257 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.4091, allocations: 10.58 kB / 0.8257 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.4095, allocations: 346.4 kB / 0.8261 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.02e-05/0.4096, allocations: 0.6902 MB / 0.8267 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.4096, allocations: 16.72 kB / 0.8267 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of SimCode: time 2.81e-07/0.4096, allocations: 0 / 0.8267 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of Templates: time 0.002305/0.4119, allocations: 1.328 MB / 0.828 GB, free: 19.41 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.729285780806094] Failed to read output from testmodel.py, exit status != 0: 0.41692439396865666 0.42781000099999994 0.021668416000000003 Calling exit ...