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.001166/0.001166, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.001203/0.001203, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.276/1.276, allocations: 225.6 MB / 249.3 MB, free: 3.336 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9834/0.9834, allocations: 175.7 MB / 480.1 MB, free: 2.84 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.001827/0.001827, allocations: 72.02 kB / 0.6678 GB, free: 10.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1532, allocations: 94.53 MB / 0.7601 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002163/0.1553, allocations: 1.269 MB / 0.7613 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009562/0.1563, allocations: 0.6132 MB / 0.7619 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.151e-05/0.1563, allocations: 4 kB / 0.7619 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.28e-05/0.1563, allocations: 0 / 0.7619 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.127e-05/0.1564, allocations: 3.938 kB / 0.7619 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.1568, allocations: 147.3 kB / 0.7621 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.806e-05/0.1569, allocations: 27.86 kB / 0.7621 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.262e-05/0.1569, allocations: 4 kB / 0.7621 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.345e-05/0.1569, allocations: 4 kB / 0.7621 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.184e-05/0.157, allocations: 15.92 kB / 0.7621 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.157, allocations: 0 / 0.7621 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005135/0.1575, allocations: 351.3 kB / 0.7624 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.727e-06/0.1575, allocations: 0 / 0.7624 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.1575, allocations: 11.94 kB / 0.7625 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.1578, allocations: 147.8 kB / 0.7626 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1578, allocations: 0 / 0.7626 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1578, allocations: 0 / 0.7626 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.1578, allocations: 0 / 0.7626 GB, free: 14.24 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.0003958/0.1582, allocations: 367 kB / 0.7629 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.1582, allocations: 8.031 kB / 0.763 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.896e-05/0.1583, allocations: 38.75 kB / 0.763 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.154e-05/0.1583, allocations: 0.9375 kB / 0.763 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.1584, allocations: 164.4 kB / 0.7631 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1584, allocations: 4.375 kB / 0.7632 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.1584, allocations: 12.08 kB / 0.7632 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.423e-05/0.1585, allocations: 41.62 kB / 0.7632 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.301e-06/0.1585, allocations: 0 / 0.7632 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.1585, allocations: 4 kB / 0.7632 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.1586, allocations: 0 / 0.7632 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.146e-05/0.1586, allocations: 4 kB / 0.7632 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.1587, allocations: 161.7 kB / 0.7634 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.1589, allocations: 42.61 kB / 0.7634 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.1589, allocations: 28.81 kB / 0.7634 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.159, allocations: 0 / 0.7634 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.159, allocations: 30.56 kB / 0.7635 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.159, allocations: 0 / 0.7635 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0005511/0.1595, allocations: 310.5 kB / 0.7638 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.1596, allocations: 59.34 kB / 0.7638 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.302e-05/0.1596, allocations: 97.84 kB / 0.7639 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.1597, allocations: 29.7 kB / 0.7639 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.1597, allocations: 80.14 kB / 0.764 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.1597, allocations: 23.78 kB / 0.764 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.1598, allocations: 21.7 kB / 0.7641 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1599, allocations: 318.8 kB / 0.7644 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.182e-05/0.1599, allocations: 15.94 kB / 0.7644 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.6e-05/0.1599, allocations: 16.05 kB / 0.7644 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.356e-05/0.16, allocations: 32.8 kB / 0.7644 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.16, allocations: 3.938 kB / 0.7644 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.557e-05/0.1601, allocations: 65.64 kB / 0.7645 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1601, allocations: 8 kB / 0.7645 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.1601, allocations: 0 / 0.7645 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.1601, allocations: 0 / 0.7645 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.817e-05/0.1602, allocations: 16 kB / 0.7645 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1602, allocations: 3.984 kB / 0.7645 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.1602, allocations: 4 kB / 0.7645 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.1602, allocations: 0 / 0.7645 GB, free: 11.99 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 7.869e-05/0.1603, allocations: 117.7 kB / 0.7646 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.978e-06/0.1603, allocations: 4 kB / 0.7646 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.1604, allocations: 65.66 kB / 0.7647 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1604, allocations: 0 / 0.7647 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1604, allocations: 7.984 kB / 0.7647 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1604, allocations: 4 kB / 0.7647 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.1607, allocations: 315.3 kB / 0.765 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1607, allocations: 0 / 0.765 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.534e-05/0.1608, allocations: 8 kB / 0.765 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1608, allocations: 4 kB / 0.765 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.1608, allocations: 0 / 0.765 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1608, allocations: 3.984 kB / 0.765 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1608, allocations: 0 / 0.765 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.161, allocations: 188.5 kB / 0.7652 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.161, allocations: 85.09 kB / 0.7653 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.1611, allocations: 8.031 kB / 0.7653 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.1611, allocations: 0 / 0.7653 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.1611, allocations: 4 kB / 0.7653 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1611, allocations: 3.938 kB / 0.7653 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.151e-05/0.1612, allocations: 87.27 kB / 0.7654 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1612, allocations: 4.062 kB / 0.7654 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002245/0.1614, allocations: 19.94 kB / 0.7654 GB, free: 10.95 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.0005032/0.1619, allocations: 0.7365 MB / 0.7661 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.129e-05/0.162, allocations: 28.05 kB / 0.7662 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.162, allocations: 4 kB / 0.7662 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.833e-05/0.162, allocations: 19.94 kB / 0.7662 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.1622, allocations: 6.938 kB / 0.7662 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.1634, allocations: 1.327 MB / 0.7675 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.1637, allocations: 0.6807 MB / 0.7681 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.743e-05/0.1637, allocations: 7.906 kB / 0.7681 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.1637, allocations: 15.44 kB / 0.7682 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.1637, allocations: 0 / 0.7682 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.1878, allocations: 1.56 MB / 0.7697 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.078/7.266, allocations: 8 kB / 0.7697 GB, free: 6.52 MB / 0.5762 GB " [Timeout remaining time 653] (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 --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 sys.exit(0), Time elapsed: 10.637618728986126]