Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00771/0.007711, allocations: 97.88 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 193 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8229/0.8229, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 74.83 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1437, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002461/0.1461, allocations: 1.258 MB / 0.6604 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1472, allocations: 0.6174 MB / 0.661 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.1473, allocations: 3.938 kB / 0.661 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.1473, allocations: 0 / 0.661 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.664e-05/0.1474, allocations: 3.938 kB / 0.661 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005276/0.1479, allocations: 149.5 kB / 0.6612 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.347e-05/0.148, allocations: 23.91 kB / 0.6612 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.268e-05/0.148, allocations: 0 / 0.6612 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.777e-05/0.148, allocations: 15.92 kB / 0.6612 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.21e-05/0.1481, allocations: 0 / 0.6612 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.1481, allocations: 4 kB / 0.6612 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005571/0.1487, allocations: 343.3 kB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.1487, allocations: 4 kB / 0.6616 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.803e-05/0.1487, allocations: 7.938 kB / 0.6616 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.149, allocations: 161.2 kB / 0.6617 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.149, allocations: 0 / 0.6617 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.149, allocations: 0 / 0.6617 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.149, allocations: 0 / 0.6617 GB, free: 11.44 MB / 0.4981 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.0004588/0.1495, allocations: 359.1 kB / 0.6621 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1495, allocations: 8.031 kB / 0.6621 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.031e-05/0.1496, allocations: 38.73 kB / 0.6621 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.328e-05/0.1496, allocations: 4.938 kB / 0.6621 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.1498, allocations: 164.3 kB / 0.6623 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1498, allocations: 384 / 0.6623 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.1498, allocations: 16.06 kB / 0.6623 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.1499, allocations: 45.62 kB / 0.6623 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1499, allocations: 0 / 0.6623 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.1499, allocations: 0 / 0.6623 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1499, allocations: 0 / 0.6623 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.096e-05/0.15, allocations: 11.98 kB / 0.6623 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.1502, allocations: 157.7 kB / 0.6625 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.1504, allocations: 42.56 kB / 0.6625 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.866e-05/0.1504, allocations: 20.8 kB / 0.6625 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1504, allocations: 0 / 0.6625 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.1505, allocations: 38.5 kB / 0.6626 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.1505, allocations: 0 / 0.6626 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006199/0.1511, allocations: 318.3 kB / 0.6629 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.1512, allocations: 51.41 kB / 0.6629 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.15e-05/0.1512, allocations: 101.9 kB / 0.663 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1513, allocations: 25.7 kB / 0.6631 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.1513, allocations: 80.14 kB / 0.6631 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.1513, allocations: 27.78 kB / 0.6632 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.1514, allocations: 17.72 kB / 0.6632 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1515, allocations: 314.8 kB / 0.6635 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-05/0.1516, allocations: 15.92 kB / 0.6635 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.636e-05/0.1516, allocations: 15.98 kB / 0.6635 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.345e-05/0.1517, allocations: 36.8 kB / 0.6635 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.1517, allocations: 3.938 kB / 0.6635 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001073/0.1518, allocations: 65.69 kB / 0.6636 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1518, allocations: 4 kB / 0.6636 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1518, allocations: 0 / 0.6636 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1518, allocations: 0 / 0.6636 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.74e-05/0.1519, allocations: 15.98 kB / 0.6636 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1519, allocations: 0 / 0.6636 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.727e-05/0.1519, allocations: 0 / 0.6636 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.1519, allocations: 0 / 0.6636 GB, free: 9.199 MB / 0.4981 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 9.82e-05/0.1521, allocations: 122.4 kB / 0.6637 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.1521, allocations: 7.891 kB / 0.6638 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.1522, allocations: 73.64 kB / 0.6638 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1522, allocations: 0 / 0.6638 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1522, allocations: 3.938 kB / 0.6638 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1522, allocations: 0 / 0.6638 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/0.1526, allocations: 315.4 kB / 0.6641 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1526, allocations: 4.031 kB / 0.6641 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.837e-05/0.1527, allocations: 15.98 kB / 0.6641 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1527, allocations: 0 / 0.6641 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.1527, allocations: 192 / 0.6641 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.1527, allocations: 8 kB / 0.6642 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1527, allocations: 240 / 0.6642 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.1529, allocations: 180.3 kB / 0.6643 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.153, allocations: 93.14 kB / 0.6644 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.153, allocations: 0 / 0.6644 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.1531, allocations: 4 kB / 0.6644 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.1531, allocations: 7.984 kB / 0.6644 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.1531, allocations: 7.938 kB / 0.6644 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.351e-05/0.1532, allocations: 75.28 kB / 0.6645 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1532, allocations: 0 / 0.6645 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002506/0.1535, allocations: 23.94 kB / 0.6645 GB, free: 8.152 MB / 0.4981 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.0005588/0.154, allocations: 0.7366 MB / 0.6652 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.1541, allocations: 31.98 kB / 0.6653 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1541, allocations: 4 kB / 0.6653 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.077e-05/0.1542, allocations: 15.94 kB / 0.6653 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.1544, allocations: 10.69 kB / 0.6653 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.1557, allocations: 1.335 MB / 0.6666 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.156, allocations: 0.6846 MB / 0.6673 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.748e-05/0.1561, allocations: 4.234 kB / 0.6673 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.1561, allocations: 11.44 kB / 0.6673 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.1561, allocations: 0 / 0.6673 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1949/0.351, allocations: 1.589 MB / 0.6688 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.131/8.482, allocations: 9.828 kB / 0.6689 GB, free: 3.762 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)