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.001405/0.001405, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001982/0.001982, allocations: 211.7 kB / 22.24 MB, free: 5.262 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.785 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.258/1.258, allocations: 203.8 MB / 0.5041 GB, free: 4.59 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_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.002112/0.002112, allocations: 70.52 kB / 0.7186 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5427/0.5448, allocations: 102 MB / 0.8183 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00269/0.5475, allocations: 1.476 MB / 0.8197 GB, free: 456 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.5486, allocations: 0.5579 MB / 0.8203 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.5487, allocations: 0 / 0.8203 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.299e-05/0.5487, allocations: 3.938 kB / 0.8203 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.873e-05/0.5488, allocations: 11.91 kB / 0.8203 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005941/0.5494, allocations: 162.5 kB / 0.8204 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.786e-05/0.5495, allocations: 55.53 kB / 0.8205 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.535e-05/0.5495, allocations: 11.89 kB / 0.8205 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.956e-05/0.5496, allocations: 19.94 kB / 0.8205 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.714e-05/0.5496, allocations: 23.91 kB / 0.8205 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.5496, allocations: 4 kB / 0.8205 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004525/0.5501, allocations: 271.5 kB / 0.8208 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.5501, allocations: 15.92 kB / 0.8208 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.5502, allocations: 23.91 kB / 0.8208 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.5504, allocations: 173.8 kB / 0.821 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5504, allocations: 0 / 0.821 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5504, allocations: 0 / 0.821 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.5505, allocations: 0 / 0.821 GB, free: 15.14 MB / 0.6075 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.0006294/0.5511, allocations: 325.8 kB / 0.8213 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.5511, allocations: 17.45 kB / 0.8213 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.5512, allocations: 4.938 kB / 0.8213 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.5513, allocations: 118.4 kB / 0.8214 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.5513, allocations: 4.375 kB / 0.8214 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.5513, allocations: 8.375 kB / 0.8215 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.5516, allocations: 129.6 kB / 0.8216 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.5517, allocations: 4.188 kB / 0.8216 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.5517, allocations: 3.938 kB / 0.8216 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.5517, allocations: 4 kB / 0.8216 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.5519, allocations: 51.95 kB / 0.8216 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005378/0.5525, allocations: 260.3 kB / 0.8219 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.5528, allocations: 82.5 kB / 0.822 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.5529, allocations: 28.84 kB / 0.822 GB, free: 14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.5529, allocations: 7.984 kB / 0.822 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.5529, allocations: 34.56 kB / 0.822 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.5529, allocations: 0 / 0.822 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001706/0.5547, allocations: 0.4916 MB / 0.8225 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.5547, allocations: 55.41 kB / 0.8226 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/0.5548, allocations: 101.8 kB / 0.8227 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.5548, allocations: 33.7 kB / 0.8227 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.5549, allocations: 96 kB / 0.8228 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.5549, allocations: 39.64 kB / 0.8228 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.555, allocations: 29.72 kB / 0.8229 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.5551, allocations: 322.8 kB / 0.8232 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.5553, allocations: 31.98 kB / 0.8232 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.5554, allocations: 31.97 kB / 0.8232 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.5557, allocations: 76.95 kB / 0.8233 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.5557, allocations: 0 / 0.8233 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003587/0.556, allocations: 120.9 kB / 0.8234 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.556, allocations: 4 kB / 0.8234 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.5561, allocations: 3.938 kB / 0.8234 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.5561, allocations: 0 / 0.8234 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.5562, allocations: 24.08 kB / 0.8234 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.5562, allocations: 7.938 kB / 0.8235 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.93e-05/0.5563, allocations: 11.98 kB / 0.8235 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.5563, allocations: 7.938 kB / 0.8235 GB, free: 12.38 MB / 0.6075 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 9.773e-05/0.5564, allocations: 118.1 kB / 0.8236 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.5565, allocations: 4 kB / 0.8236 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004366/0.5569, allocations: 129.6 kB / 0.8237 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.5569, allocations: 4 kB / 0.8237 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5569, allocations: 0 / 0.8237 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.5569, allocations: 0 / 0.8237 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005906/0.5575, allocations: 326 kB / 0.824 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5575, allocations: 0 / 0.824 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.5577, allocations: 31.92 kB / 0.8241 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.5577, allocations: 0 / 0.8241 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.5577, allocations: 4 kB / 0.8241 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.5577, allocations: 3.984 kB / 0.8241 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.5577, allocations: 3.938 kB / 0.8241 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/0.5582, allocations: 243.5 kB / 0.8243 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.5583, allocations: 7.984 kB / 0.8243 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.5583, allocations: 3.984 kB / 0.8243 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.5584, allocations: 15.94 kB / 0.8243 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.5584, allocations: 11.92 kB / 0.8243 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.5584, allocations: 4 kB / 0.8243 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.617e-05/0.5585, allocations: 87.45 kB / 0.8244 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.5585, allocations: 0 / 0.8244 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002818/0.5588, allocations: 35.86 kB / 0.8245 GB, free: 11.29 MB / 0.6075 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.0002494/0.559, allocations: 139.1 kB / 0.8246 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003457/0.5594, allocations: 79.88 kB / 0.8247 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5594, allocations: 0 / 0.8247 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.5595, allocations: 39.98 kB / 0.8247 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.5598, allocations: 14.02 kB / 0.8247 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000703/0.5605, allocations: 319.5 kB / 0.825 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.923e-05/0.5606, allocations: 75.33 kB / 0.8251 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.918e-05/0.5607, allocations: 16.61 kB / 0.8251 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.5607, allocations: 11.44 kB / 0.8251 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.5607, allocations: 0 / 0.8251 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of Templates: time 0.00398/0.5647, allocations: 1.172 MB / 0.8263 GB, free: 9.449 MB / 0.6075 GB " [Timeout remaining time 659] 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 sys.exit(0), Time elapsed: 6.565043713897467] Failed to read output from testmodel.py, exit status != 0: 0.5735349375754595 0.586911677 0.033640598 Calling exit ...