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.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.001688/0.001688, allocations: 105.5 kB / 16.45 MB, free: 6.445 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.002017/0.002017, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.508/1.508, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.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/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.103/1.103, allocations: 175.7 MB / 478.4 MB, free: 3.426 MB / 366.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: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 63.72 kB / 0.6652 GB, free: 11.24 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2033, allocations: 94.54 MB / 0.7575 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002687/0.206, allocations: 1.27 MB / 0.7588 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.2071, allocations: 0.6056 MB / 0.7594 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.2072, allocations: 0 / 0.7594 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/0.2072, allocations: 7.875 kB / 0.7594 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.798e-05/0.2072, allocations: 4 kB / 0.7594 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.2078, allocations: 143.4 kB / 0.7595 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.171e-05/0.2079, allocations: 27.84 kB / 0.7595 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.2079, allocations: 4 kB / 0.7595 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.602e-05/0.2079, allocations: 7.938 kB / 0.7595 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.745e-05/0.208, allocations: 11.92 kB / 0.7596 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.208, allocations: 4 kB / 0.7596 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000508/0.2085, allocations: 339.4 kB / 0.7599 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.588e-06/0.2085, allocations: 0 / 0.7599 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.2086, allocations: 15.94 kB / 0.7599 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.2088, allocations: 143.8 kB / 0.76 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2089, allocations: 0 / 0.76 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2089, allocations: 0 / 0.76 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.2089, allocations: 7.938 kB / 0.76 GB, free: 15.01 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.0005098/0.2094, allocations: 359.1 kB / 0.7604 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.2094, allocations: 12.03 kB / 0.7604 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.031e-05/0.2095, allocations: 30.75 kB / 0.7604 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.2095, allocations: 0.9375 kB / 0.7604 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.2096, allocations: 180.2 kB / 0.7606 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.2097, allocations: 4.375 kB / 0.7606 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.2097, allocations: 16.11 kB / 0.7606 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.2098, allocations: 33.69 kB / 0.7607 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.2098, allocations: 0 / 0.7607 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.2098, allocations: 4 kB / 0.7607 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2098, allocations: 4 kB / 0.7607 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.901e-05/0.2099, allocations: 4 kB / 0.7607 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.2101, allocations: 157.6 kB / 0.7608 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.2103, allocations: 50.55 kB / 0.7609 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/0.2103, allocations: 24.88 kB / 0.7609 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.2103, allocations: 0 / 0.7609 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.2104, allocations: 34.56 kB / 0.7609 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.2104, allocations: 0 / 0.7609 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0006535/0.211, allocations: 302.3 kB / 0.7612 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.2111, allocations: 51.41 kB / 0.7613 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.454e-05/0.2111, allocations: 97.84 kB / 0.7613 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.2112, allocations: 29.7 kB / 0.7614 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.2112, allocations: 84.14 kB / 0.7615 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.2112, allocations: 19.73 kB / 0.7615 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.2113, allocations: 21.7 kB / 0.7615 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2114, allocations: 318.8 kB / 0.7618 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.873e-05/0.2114, allocations: 12 kB / 0.7618 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.462e-05/0.2114, allocations: 15.92 kB / 0.7618 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.363e-05/0.2115, allocations: 36.84 kB / 0.7619 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2115, allocations: 7.875 kB / 0.7619 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001029/0.2116, allocations: 61.69 kB / 0.7619 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2116, allocations: 4 kB / 0.7619 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2116, allocations: 0 / 0.7619 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2117, allocations: 0 / 0.7619 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.673e-05/0.2117, allocations: 15.94 kB / 0.7619 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2117, allocations: 240 / 0.7619 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.2117, allocations: 11.98 kB / 0.762 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.2117, allocations: 0 / 0.762 GB, free: 12.77 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 8.069e-05/0.2118, allocations: 113.8 kB / 0.7621 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.2118, allocations: 7.953 kB / 0.7621 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/0.212, allocations: 78.22 kB / 0.7621 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.212, allocations: 0 / 0.7621 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.212, allocations: 0 / 0.7621 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.212, allocations: 7.922 kB / 0.7622 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003567/0.2124, allocations: 311.4 kB / 0.7625 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.2124, allocations: 7.984 kB / 0.7625 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.778e-05/0.2125, allocations: 11.94 kB / 0.7625 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2125, allocations: 0 / 0.7625 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.2125, allocations: 4 kB / 0.7625 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2125, allocations: 0 / 0.7625 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2125, allocations: 0 / 0.7625 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.2127, allocations: 184.3 kB / 0.7627 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.2127, allocations: 89.12 kB / 0.7627 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.2127, allocations: 0 / 0.7627 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.2128, allocations: 4 kB / 0.7627 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.2128, allocations: 0 / 0.7627 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.2128, allocations: 7.938 kB / 0.7627 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.974e-05/0.2129, allocations: 87.2 kB / 0.7628 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2129, allocations: 0 / 0.7628 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002522/0.2131, allocations: 19.94 kB / 0.7629 GB, free: 11.73 MB / 0.5762 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.0005918/0.2137, allocations: 0.7406 MB / 0.7636 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.2139, allocations: 23.94 kB / 0.7636 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.2139, allocations: 4 kB / 0.7636 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.249e-05/0.2139, allocations: 24.23 kB / 0.7636 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.2141, allocations: 7.938 kB / 0.7636 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.2155, allocations: 1.326 MB / 0.7649 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.2158, allocations: 0.6846 MB / 0.7656 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.356e-05/0.2158, allocations: 7.906 kB / 0.7656 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.2158, allocations: 15.44 kB / 0.7656 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/0.2158, allocations: 0 / 0.7656 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.2418, allocations: 1.613 MB / 0.7672 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/8.437, allocations: 4.312 kB / 0.7672 GB, free: 7.289 MB / 0.5762 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.53098363475874] Failed to read output from testmodel.py, exit status != 0: 8.507069549057633 8.532325528 8.318796483 Calling exit ...