Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_DerivativeCheck2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",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.008099/0.008099, allocations: 168.8 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7973/0.7973, allocations: 135.2 MB / 151 MB, free: 13.77 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.802/1.802, allocations: 223.1 MB / 406.8 MB, free: 3.25 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.0009161/0.0009161, allocations: 95.58 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004519/0.000452, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5576/0.5581, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.7177, allocations: 112.3 MB / 0.7592 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.718, allocations: 75.95 kB / 0.7592 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01455/0.7326, allocations: 4.558 MB / 0.7637 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.977e-06/0.7327, allocations: 3.938 kB / 0.7637 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.7327, allocations: 4 kB / 0.7637 GB, free: 15.08 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005176/0.7332, allocations: 355.2 kB / 0.764 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.7333, allocations: 16.03 kB / 0.7641 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.244e-05/0.7334, allocations: 34.56 kB / 0.7641 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.7334, allocations: 4 kB / 0.7641 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.7336, allocations: 170.9 kB / 0.7643 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.7336, allocations: 0 / 0.7643 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.7336, allocations: 8 kB / 0.7643 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.7338, allocations: 57.59 kB / 0.7643 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.7338, allocations: 0 / 0.7643 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.7338, allocations: 4 kB / 0.7643 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.7338, allocations: 4 kB / 0.7643 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.501e-05/0.7339, allocations: 19.98 kB / 0.7643 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002393/0.7341, allocations: 169.5 kB / 0.7645 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.7343, allocations: 54.56 kB / 0.7646 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.7343, allocations: 8.234 kB / 0.7646 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.7344, allocations: 38.48 kB / 0.7646 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.7344, allocations: 0 / 0.7646 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.001246/0.7356, allocations: 0.5799 MB / 0.7652 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.7357, allocations: 51.41 kB / 0.7652 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.344e-05/0.7357, allocations: 92.98 kB / 0.7653 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.7358, allocations: 29.83 kB / 0.7653 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.7358, allocations: 84.14 kB / 0.7654 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.7359, allocations: 39.44 kB / 0.7655 GB, free: 13 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-06/0.7359, allocations: 4 kB / 0.7655 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.7361, allocations: 318.8 kB / 0.7658 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.273e-05/0.7361, allocations: 23.98 kB / 0.7658 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.936e-05/0.7362, allocations: 16 kB / 0.7658 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.068e-05/0.7362, allocations: 23.98 kB / 0.7658 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.7362, allocations: 0 / 0.7658 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000148/0.7364, allocations: 113.5 kB / 0.7659 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.7364, allocations: 4 kB / 0.7659 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.7364, allocations: 0 / 0.7659 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.7364, allocations: 0 / 0.7659 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.7366, allocations: 23.98 kB / 0.766 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.7366, allocations: 0 / 0.766 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.583e-05/0.7366, allocations: 4 kB / 0.766 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.7366, allocations: 4.094 kB / 0.766 GB, free: 12.46 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 (13): * Single equations (assignments): 13 * 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 0.0001017/0.7367, allocations: 121.7 kB / 0.7661 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.7368, allocations: 8 kB / 0.7661 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.737, allocations: 101.6 kB / 0.7662 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.737, allocations: 4 kB / 0.7662 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.737, allocations: 0 / 0.7662 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.737, allocations: 0 / 0.7662 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004671/0.7375, allocations: 354.5 kB / 0.7665 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.7375, allocations: 8 kB / 0.7665 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.7376, allocations: 23.97 kB / 0.7666 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.7376, allocations: 0 / 0.7666 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.7376, allocations: 4 kB / 0.7666 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7376, allocations: 4 kB / 0.7666 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.7376, allocations: 0 / 0.7666 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.7379, allocations: 219.4 kB / 0.7668 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.738, allocations: 81.02 kB / 0.7669 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.738, allocations: 12.02 kB / 0.7669 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.7381, allocations: 0 / 0.7669 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.7381, allocations: 8.062 kB / 0.7669 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.7381, allocations: 7.984 kB / 0.7669 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.272e-05/0.7382, allocations: 79.28 kB / 0.767 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7382, allocations: 0 / 0.767 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003029/0.7385, allocations: 43.94 kB / 0.767 GB, free: 11.29 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0007327/0.7392, allocations: 0.7944 MB / 0.7678 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001542/0.7394, allocations: 59.36 kB / 0.7678 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7394, allocations: 0 / 0.7678 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.006e-05/0.7395, allocations: 35.92 kB / 0.7679 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.7396, allocations: 4 kB / 0.7679 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.7407, allocations: 0.6607 MB / 0.7685 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.7411, allocations: 0.6887 MB / 0.7692 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.333e-05/0.7411, allocations: 12.05 kB / 0.7692 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.7412, allocations: 23.44 kB / 0.7692 GB, free: 8.914 MB / 0.5417 GB Notification: Performance of SimCode: time 3.51e-07/0.7412, allocations: 0 / 0.7692 GB, free: 8.914 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.7548, allocations: 1.749 MB / 0.7709 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/0.7551, allocations: 217.9 kB / 0.7711 GB, free: 7.098 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/2.45, allocations: 6.125 kB / 0.7711 GB, free: 7.094 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)