Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.0008886/0.0008886, allocations: 96.38 kB / 19.7 MB, free: 448 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.0008803/0.0008803, allocations: 216.2 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.9453/0.9453, allocations: 230.6 MB / 256.8 MB, free: 9.613 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.7618/0.7618, allocations: 203.8 MB / 0.5049 GB, free: 10.41 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [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.0008686/0.0008686, allocations: 60.88 kB / 0.7194 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5201/0.521, allocations: 102 MB / 0.819 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002053/0.523, allocations: 1.276 MB / 0.8203 GB, free: 444 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008391/0.5238, allocations: 0.5431 MB / 0.8208 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.5239, allocations: 0 / 0.8208 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.5239, allocations: 0 / 0.8208 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.08e-05/0.524, allocations: 9.969 kB / 0.8208 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005305/0.5245, allocations: 147.6 kB / 0.821 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.52e-05/0.5246, allocations: 19.39 kB / 0.821 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.5246, allocations: 4 kB / 0.821 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.901e-05/0.5247, allocations: 10.33 kB / 0.821 GB, free: 0 / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.495e-05/0.5247, allocations: 3.062 kB / 0.821 GB, free: 0 / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.5247, allocations: 1.344 kB / 0.821 GB, free: 0 / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003932/0.5251, allocations: 272.5 kB / 0.8212 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.5251, allocations: 4.656 kB / 0.8213 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.5252, allocations: 10.09 kB / 0.8213 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.5254, allocations: 143.1 kB / 0.8214 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5254, allocations: 0 / 0.8214 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5254, allocations: 0 / 0.8214 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.5254, allocations: 0 / 0.8214 GB, free: 15.88 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004315/0.5259, allocations: 286.1 kB / 0.8217 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.5259, allocations: 7.656 kB / 0.8217 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.5259, allocations: 3.016 kB / 0.8217 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.176e-05/0.526, allocations: 113.5 kB / 0.8218 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.526, allocations: 6.859 kB / 0.8218 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.5261, allocations: 9.688 kB / 0.8218 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.5264, allocations: 67.81 kB / 0.8219 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.5264, allocations: 192 / 0.8219 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.5264, allocations: 3.938 kB / 0.8219 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.5264, allocations: 5.312 kB / 0.8219 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.866e-05/0.5265, allocations: 8.688 kB / 0.8219 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.5266, allocations: 108.4 kB / 0.822 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.5268, allocations: 40.14 kB / 0.822 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.5268, allocations: 14.72 kB / 0.822 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.5269, allocations: 6.016 kB / 0.822 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.5269, allocations: 32 kB / 0.8221 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.5269, allocations: 7.875 kB / 0.8221 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0005773/0.5275, allocations: 236.4 kB / 0.8223 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.5275, allocations: 53.42 kB / 0.8224 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.193e-05/0.5276, allocations: 99.42 kB / 0.8225 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.5276, allocations: 26.98 kB / 0.8225 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.863e-05/0.5276, allocations: 84.89 kB / 0.8226 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.5276, allocations: 24.09 kB / 0.8226 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.5277, allocations: 21.44 kB / 0.8226 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.009e-05/0.5277, allocations: 317.2 kB / 0.8229 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/0.5278, allocations: 12.03 kB / 0.8229 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.073e-05/0.5278, allocations: 12.78 kB / 0.8229 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.75e-05/0.5278, allocations: 28.73 kB / 0.823 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5278, allocations: 4.062 kB / 0.823 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.166e-05/0.5279, allocations: 73.14 kB / 0.823 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.5279, allocations: 5.812 kB / 0.823 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5279, allocations: 3.938 kB / 0.823 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.5279, allocations: 0.9844 kB / 0.823 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.746e-05/0.528, allocations: 10.78 kB / 0.8231 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.528, allocations: 1.281 kB / 0.8231 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.232e-05/0.528, allocations: 4.516 kB / 0.8231 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.528, allocations: 3.016 kB / 0.8231 GB, free: 14.24 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 (7): * Single equations (assignments): 7 * 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 6.028e-05/0.5281, allocations: 115.7 kB / 0.8232 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/0.5281, allocations: 3.062 kB / 0.8232 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.5282, allocations: 81.45 kB / 0.8233 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5282, allocations: 1.031 kB / 0.8233 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5282, allocations: 0 / 0.8233 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.5282, allocations: 5.828 kB / 0.8233 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.5285, allocations: 261 kB / 0.8235 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.5285, allocations: 5.156 kB / 0.8235 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.063e-05/0.5285, allocations: 14.5 kB / 0.8235 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.5285, allocations: 2.297 kB / 0.8235 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.485e-06/0.5285, allocations: 5.031 kB / 0.8235 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.5285, allocations: 1.125 kB / 0.8235 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5285, allocations: 0 / 0.8235 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.5287, allocations: 181.9 kB / 0.8237 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.01e-05/0.5287, allocations: 13.03 kB / 0.8237 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.5287, allocations: 5.062 kB / 0.8237 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.818e-05/0.5288, allocations: 6.109 kB / 0.8237 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.5288, allocations: 5.062 kB / 0.8237 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.5288, allocations: 6.219 kB / 0.8237 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.052e-05/0.5288, allocations: 85.3 kB / 0.8238 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5288, allocations: 0 / 0.8238 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001672/0.529, allocations: 21.22 kB / 0.8238 GB, free: 13.52 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001433/0.5291, allocations: 115.3 kB / 0.824 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.5292, allocations: 35.44 kB / 0.824 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5292, allocations: 0 / 0.824 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.185e-05/0.5293, allocations: 14.8 kB / 0.824 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.5294, allocations: 9.828 kB / 0.824 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.5298, allocations: 224.2 kB / 0.8242 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.562e-05/0.5299, allocations: 67.77 kB / 0.8243 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.5299, allocations: 17.33 kB / 0.8243 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.5299, allocations: 0 / 0.8243 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of Templates: time 0.002471/0.5324, allocations: 0.7951 MB / 0.8251 GB, free: 13.05 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.114011323079467] Failed to read output from testmodel.py, exit status != 0: 0.5385085758753121 0.550800159 0.023088155000000003 Calling exit ...