Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 101.3 kB / 19.92 MB, free: 1.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 183.5 kB / 23.24 MB, free: 4.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 252.1 MB, free: 12.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.093/1.093, allocations: 177.8 MB / 485.2 MB, free: 5.289 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 72.47 kB / 0.6751 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6028/0.6047, allocations: 95.13 MB / 0.768 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002235/0.607, allocations: 1.294 MB / 0.7693 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009347/0.6079, allocations: 0.6132 MB / 0.7699 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.843e-05/0.6079, allocations: 0 / 0.7699 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.104e-05/0.608, allocations: 1.781 kB / 0.7699 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.978e-05/0.608, allocations: 4.641 kB / 0.7699 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005226/0.6085, allocations: 141.8 kB / 0.77 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.246e-05/0.6086, allocations: 27.64 kB / 0.7701 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.6086, allocations: 4.969 kB / 0.7701 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.739e-05/0.6087, allocations: 7.359 kB / 0.7701 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.393e-05/0.6087, allocations: 13.06 kB / 0.7701 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.6087, allocations: 1.062 kB / 0.7701 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004692/0.6092, allocations: 342.8 kB / 0.7704 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.6092, allocations: 4.906 kB / 0.7704 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.6093, allocations: 9.609 kB / 0.7704 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.6095, allocations: 151.8 kB / 0.7706 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6095, allocations: 0 / 0.7706 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6095, allocations: 0 / 0.7706 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.6095, allocations: 0 / 0.7706 GB, free: 6.719 MB / 0.5762 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.0003703/0.6099, allocations: 364.5 kB / 0.7709 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.6099, allocations: 13.3 kB / 0.7709 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.61, allocations: 6 kB / 0.7709 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.758e-05/0.61, allocations: 161.5 kB / 0.7711 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.61, allocations: 2.219 kB / 0.7711 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.6101, allocations: 4.234 kB / 0.7711 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.86e-05/0.6102, allocations: 41.55 kB / 0.7711 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.6102, allocations: 0 / 0.7711 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.6102, allocations: 5.469 kB / 0.7711 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.6102, allocations: 0.5625 kB / 0.7711 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.401e-05/0.6102, allocations: 14.31 kB / 0.7712 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.6104, allocations: 160.6 kB / 0.7713 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.6105, allocations: 40.61 kB / 0.7713 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/0.6106, allocations: 17.39 kB / 0.7714 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.6106, allocations: 5.125 kB / 0.7714 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.6106, allocations: 35.97 kB / 0.7714 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.041e-06/0.6106, allocations: 0 / 0.7714 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0005291/0.6111, allocations: 316.1 kB / 0.7717 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.6112, allocations: 52.78 kB / 0.7718 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.359e-05/0.6112, allocations: 99.5 kB / 0.7719 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.6112, allocations: 26.83 kB / 0.7719 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.057e-05/0.6112, allocations: 86.06 kB / 0.772 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.6113, allocations: 18.8 kB / 0.772 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.6113, allocations: 27.12 kB / 0.772 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.568e-05/0.6113, allocations: 311.8 kB / 0.7723 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.657e-05/0.6114, allocations: 12.28 kB / 0.7723 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.031e-05/0.6114, allocations: 14.72 kB / 0.7723 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.564e-05/0.6114, allocations: 37.52 kB / 0.7724 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.6114, allocations: 1.156 kB / 0.7724 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.737e-05/0.6115, allocations: 72.06 kB / 0.7724 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.6115, allocations: 9.5 kB / 0.7724 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.6115, allocations: 0 / 0.7724 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.6116, allocations: 0.875 kB / 0.7724 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.21e-05/0.6116, allocations: 14.25 kB / 0.7725 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.6116, allocations: 0 / 0.7725 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.6116, allocations: 1.281 kB / 0.7725 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.6116, allocations: 1.281 kB / 0.7725 GB, free: 4.789 MB / 0.5762 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 4.939e-05/0.6117, allocations: 115.8 kB / 0.7726 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.6117, allocations: 6.359 kB / 0.7726 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.6118, allocations: 74.73 kB / 0.7726 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.6118, allocations: 2.031 kB / 0.7726 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.6118, allocations: 0.9062 kB / 0.7726 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.6118, allocations: 0 / 0.7726 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.6121, allocations: 313.6 kB / 0.7729 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6121, allocations: 1.938 kB / 0.7729 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.175e-05/0.6122, allocations: 14.52 kB / 0.773 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6122, allocations: 1.219 kB / 0.773 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.6122, allocations: 4.75 kB / 0.773 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.6122, allocations: 5.406 kB / 0.773 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6122, allocations: 0.5938 kB / 0.773 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.6123, allocations: 184.5 kB / 0.7732 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.6123, allocations: 81.81 kB / 0.7732 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.6124, allocations: 1.672 kB / 0.7732 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.75e-05/0.6124, allocations: 1.531 kB / 0.7732 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.6124, allocations: 10.64 kB / 0.7732 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.6124, allocations: 6.906 kB / 0.7732 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.088e-05/0.6125, allocations: 81.56 kB / 0.7733 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.6125, allocations: 0 / 0.7733 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002322/0.6127, allocations: 22.53 kB / 0.7733 GB, free: 3.922 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001532/0.6129, allocations: 126.8 kB / 0.7735 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.898e-05/0.613, allocations: 31.39 kB / 0.7735 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.613, allocations: 4.812 kB / 0.7735 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.684e-05/0.613, allocations: 18.56 kB / 0.7735 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.6132, allocations: 5.812 kB / 0.7735 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.6136, allocations: 240.6 kB / 0.7738 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.6137, allocations: 0.6799 MB / 0.7744 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.6137, allocations: 12.08 kB / 0.7744 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.6137, allocations: 0 / 0.7744 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of Templates: time 0.002387/0.6161, allocations: 0.7964 MB / 0.7752 GB, free: 2.809 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.68248235801002] Failed to read output from testmodel.py, exit status != 0: 0.6236798590107355 0.637605184 0.024430148000000002 Calling exit ...