Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.007386/0.007386, allocations: 169.2 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.8812/0.8812, allocations: 135.2 MB / 151 MB, free: 13.81 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.549/1.549, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.0009498/0.0009498, allocations: 86.88 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004006, allocations: 8 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4031, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1479/0.5511, allocations: 112.9 MB / 0.7598 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.5515, allocations: 83.95 kB / 0.7599 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01318/0.5646, allocations: 4.329 MB / 0.7641 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5647, allocations: 0 / 0.7641 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.5647, allocations: 0 / 0.7641 GB, free: 14.65 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005263/0.5653, allocations: 387.1 kB / 0.7645 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.5653, allocations: 8.031 kB / 0.7645 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.663e-05/0.5654, allocations: 42.48 kB / 0.7645 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.5654, allocations: 7.906 kB / 0.7645 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.5655, allocations: 171 kB / 0.7647 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.5656, allocations: 4 kB / 0.7647 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.5656, allocations: 8 kB / 0.7647 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.5659, allocations: 87.64 kB / 0.7648 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5659, allocations: 0 / 0.7648 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.5659, allocations: 0 / 0.7648 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.5659, allocations: 4 kB / 0.7648 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002348/0.5662, allocations: 59.95 kB / 0.7649 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006017/0.5668, allocations: 332.6 kB / 0.7652 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.5671, allocations: 86.53 kB / 0.7653 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.5671, allocations: 0 / 0.7653 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.5672, allocations: 34.56 kB / 0.7653 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.5672, allocations: 3.938 kB / 0.7653 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.001714/0.5689, allocations: 0.6852 MB / 0.766 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.5689, allocations: 51.41 kB / 0.766 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.229e-05/0.569, allocations: 89 kB / 0.7661 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.569, allocations: 33.7 kB / 0.7661 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.5691, allocations: 92.03 kB / 0.7662 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.5691, allocations: 39.45 kB / 0.7663 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.5692, allocations: 0 / 0.7663 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.5693, allocations: 318.8 kB / 0.7666 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.5694, allocations: 35.91 kB / 0.7666 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.5695, allocations: 39.98 kB / 0.7666 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.5697, allocations: 32.73 kB / 0.7667 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.5697, allocations: 0 / 0.7667 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003279/0.57, allocations: 131.2 kB / 0.7668 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.5701, allocations: 12 kB / 0.7668 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.5701, allocations: 3.953 kB / 0.7668 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5701, allocations: 0 / 0.7668 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.5703, allocations: 35.97 kB / 0.7668 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.5703, allocations: 0 / 0.7668 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.355e-05/0.5703, allocations: 8 kB / 0.7668 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.5704, allocations: 4 kB / 0.7668 GB, free: 11.54 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.0001113/0.5705, allocations: 117.8 kB / 0.767 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.5705, allocations: 0 / 0.767 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003718/0.5709, allocations: 145.4 kB / 0.7671 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.5709, allocations: 3.953 kB / 0.7671 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5709, allocations: 96 / 0.7671 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.5709, allocations: 3.938 kB / 0.7671 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005992/0.5715, allocations: 402.4 kB / 0.7675 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5715, allocations: 0 / 0.7675 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.5717, allocations: 23.98 kB / 0.7675 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.5717, allocations: 3.953 kB / 0.7675 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.5718, allocations: 4 kB / 0.7675 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.5718, allocations: 4 kB / 0.7675 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5718, allocations: 0 / 0.7675 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005206/0.5723, allocations: 267.3 kB / 0.7678 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.5724, allocations: 81.09 kB / 0.7679 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.5724, allocations: 7.984 kB / 0.7679 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.5725, allocations: 8 kB / 0.7679 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.5725, allocations: 7.984 kB / 0.7679 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.5726, allocations: 4 kB / 0.7679 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.845e-05/0.5726, allocations: 83.28 kB / 0.768 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.5726, allocations: 0 / 0.768 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003233/0.5729, allocations: 47.98 kB / 0.768 GB, free: 10.24 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0009515/0.5739, allocations: 0.8255 MB / 0.7688 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003239/0.5742, allocations: 88.5 kB / 0.7689 GB, free: 9.305 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5743, allocations: 0 / 0.7689 GB, free: 9.305 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.5744, allocations: 63.84 kB / 0.769 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.5746, allocations: 11.89 kB / 0.769 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.5761, allocations: 0.7558 MB / 0.7697 GB, free: 8.422 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.5765, allocations: 0.6965 MB / 0.7704 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.576e-05/0.5765, allocations: 12.61 kB / 0.7704 GB, free: 7.688 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.517e-05/0.5766, allocations: 23.42 kB / 0.7704 GB, free: 7.664 MB / 0.5417 GB Notification: Performance of SimCode: time 6.91e-07/0.5766, allocations: 4 kB / 0.7704 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01362/0.5902, allocations: 2 MB / 0.7724 GB, free: 5.875 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/0.5905, allocations: 215.6 kB / 0.7726 GB, free: 5.637 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.206, allocations: 6.062 kB / 0.7726 GB, free: 5.633 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)