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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00938/0.00938, allocations: 169 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7736/0.7736, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 223.2 MB / 406.8 MB, free: 3.215 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 92.77 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003548, allocations: 8 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4543, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1596/0.614, allocations: 112.1 MB / 0.759 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.6144, allocations: 87.94 kB / 0.7591 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01194/0.6263, allocations: 4.055 MB / 0.7631 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.148e-06/0.6264, allocations: 0 / 0.7631 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.6264, allocations: 4 kB / 0.7631 GB, free: 15.7 MB / 0.5417 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.0004507/0.6269, allocations: 351.3 kB / 0.7634 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.6269, allocations: 12.02 kB / 0.7634 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.194e-05/0.627, allocations: 34.56 kB / 0.7635 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.627, allocations: 4 kB / 0.7635 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.6271, allocations: 170.9 kB / 0.7636 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.6272, allocations: 0 / 0.7636 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.6272, allocations: 4 kB / 0.7636 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.6273, allocations: 37.69 kB / 0.7637 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.6273, allocations: 0 / 0.7637 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.6273, allocations: 4 kB / 0.7637 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.6274, allocations: 4 kB / 0.7637 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.576e-05/0.6274, allocations: 11.98 kB / 0.7637 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.6276, allocations: 161.7 kB / 0.7638 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.6278, allocations: 42.5 kB / 0.7639 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.6279, allocations: 0 / 0.7639 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.6279, allocations: 34.56 kB / 0.7639 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.6279, allocations: 4 kB / 0.7639 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0006504/0.6286, allocations: 306.4 kB / 0.7642 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.6286, allocations: 51.41 kB / 0.7643 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.495e-05/0.6287, allocations: 96.98 kB / 0.7644 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.6287, allocations: 25.7 kB / 0.7644 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.6287, allocations: 84.08 kB / 0.7645 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.6288, allocations: 23.66 kB / 0.7645 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.6288, allocations: 0 / 0.7645 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6289, allocations: 326.8 kB / 0.7648 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.629, allocations: 8 kB / 0.7648 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.055e-05/0.629, allocations: 11.94 kB / 0.7648 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.997e-05/0.629, allocations: 16.14 kB / 0.7648 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.12e-07/0.629, allocations: 0 / 0.7648 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.759e-05/0.6291, allocations: 69.59 kB / 0.7649 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.6292, allocations: 4 kB / 0.7649 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.6292, allocations: 0 / 0.7649 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.6292, allocations: 0 / 0.7649 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.471e-05/0.6292, allocations: 19.98 kB / 0.7649 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.6293, allocations: 64 / 0.7649 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.978e-05/0.6293, allocations: 4 kB / 0.7649 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.6293, allocations: 0 / 0.7649 GB, free: 13.55 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.406e-05/0.6294, allocations: 121.7 kB / 0.765 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.587e-06/0.6294, allocations: 0 / 0.765 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.6296, allocations: 77.58 kB / 0.7651 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.6296, allocations: 0 / 0.7651 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6296, allocations: 0 / 0.7651 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.6296, allocations: 4 kB / 0.7651 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.63, allocations: 319.4 kB / 0.7654 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.63, allocations: 0 / 0.7654 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.747e-05/0.6301, allocations: 15.98 kB / 0.7654 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.6301, allocations: 0 / 0.7654 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.6301, allocations: 0 / 0.7654 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.6301, allocations: 4 kB / 0.7654 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.6301, allocations: 0 / 0.7654 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.6303, allocations: 197.9 kB / 0.7656 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.6304, allocations: 81.14 kB / 0.7657 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.6304, allocations: 0 / 0.7657 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.898e-05/0.6305, allocations: 4 kB / 0.7657 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.6305, allocations: 7.984 kB / 0.7657 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-06/0.6305, allocations: 3.953 kB / 0.7657 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.274e-05/0.6306, allocations: 83.34 kB / 0.7658 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6306, allocations: 3.938 kB / 0.7658 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002724/0.6309, allocations: 24 kB / 0.7658 GB, free: 12.5 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005814/0.6314, allocations: 0.8346 MB / 0.7666 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.6316, allocations: 24 kB / 0.7667 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6316, allocations: 0 / 0.7667 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.67e-05/0.6316, allocations: 19.92 kB / 0.7667 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.6318, allocations: 7.953 kB / 0.7667 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007541/0.6325, allocations: 487.9 kB / 0.7672 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.6328, allocations: 0.6849 MB / 0.7678 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.37e-05/0.6328, allocations: 8 kB / 0.7678 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.6329, allocations: 15.38 kB / 0.7678 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of SimCode: time 3.51e-07/0.6329, allocations: 96 / 0.7678 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01201/0.6449, allocations: 1.34 MB / 0.7692 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.6451, allocations: 207 kB / 0.7693 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.543, allocations: 6.672 kB / 0.7694 GB, free: 8.918 MB / 0.5417 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/linux/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)