Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.00835/0.00835, allocations: 169.5 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.7695/0.7695, allocations: 135.2 MB / 151.1 MB, free: 13.84 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.67/1.67, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.0009335/0.0009336, allocations: 95.55 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003687, allocations: 8 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.452, allocations: 82.29 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1648/0.6169, allocations: 112.9 MB / 0.7598 GB, free: 3.031 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.6172, allocations: 83.95 kB / 0.7599 GB, free: 2.949 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01387/0.6311, allocations: 4.325 MB / 0.7641 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.535e-06/0.6312, allocations: 0 / 0.7641 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.6312, allocations: 4 kB / 0.7641 GB, free: 14.62 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.000599/0.6318, allocations: 383.1 kB / 0.7645 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.6319, allocations: 12.03 kB / 0.7645 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.454e-05/0.6319, allocations: 38.56 kB / 0.7645 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.632, allocations: 7.906 kB / 0.7645 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.6321, allocations: 171 kB / 0.7647 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.6322, allocations: 4 kB / 0.7647 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.6322, allocations: 8 kB / 0.7647 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.6325, allocations: 79.16 kB / 0.7648 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.6325, allocations: 0 / 0.7648 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.6326, allocations: 8 kB / 0.7648 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.6326, allocations: 0 / 0.7648 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.6328, allocations: 59.95 kB / 0.7648 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006839/0.6335, allocations: 332.6 kB / 0.7652 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.6338, allocations: 86.53 kB / 0.7652 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.6339, allocations: 8 kB / 0.7653 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.6339, allocations: 34.56 kB / 0.7653 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/0.6339, allocations: 0 / 0.7653 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.001915/0.6358, allocations: 0.6812 MB / 0.766 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.6359, allocations: 55.41 kB / 0.766 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.766e-05/0.636, allocations: 92.98 kB / 0.7661 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.636, allocations: 29.7 kB / 0.7661 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.6361, allocations: 84.05 kB / 0.7662 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.356e-05/0.6361, allocations: 43.45 kB / 0.7662 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/0.6361, allocations: 0 / 0.7662 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.6363, allocations: 322.8 kB / 0.7666 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.6365, allocations: 39.92 kB / 0.7666 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.6366, allocations: 31.97 kB / 0.7666 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.6367, allocations: 36.75 kB / 0.7667 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.6367, allocations: 0 / 0.7667 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003334/0.6371, allocations: 132.7 kB / 0.7668 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.6371, allocations: 4 kB / 0.7668 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.6371, allocations: 3.953 kB / 0.7668 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.6372, allocations: 3.938 kB / 0.7668 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.6373, allocations: 31.98 kB / 0.7668 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.6373, allocations: 4 kB / 0.7668 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.555e-05/0.6374, allocations: 4 kB / 0.7668 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.6374, allocations: 7.984 kB / 0.7668 GB, free: 11.52 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.000128/0.6376, allocations: 118.5 kB / 0.767 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.6376, allocations: 4 kB / 0.767 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004204/0.638, allocations: 153.5 kB / 0.7671 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.6381, allocations: 3.953 kB / 0.7671 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6381, allocations: 0 / 0.7671 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.098e-06/0.6381, allocations: 7.984 kB / 0.7671 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006629/0.6387, allocations: 386.5 kB / 0.7675 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6388, allocations: 3.938 kB / 0.7675 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.6389, allocations: 27.98 kB / 0.7675 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.6389, allocations: 3.953 kB / 0.7675 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.639, allocations: 3.984 kB / 0.7675 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.639, allocations: 0 / 0.7675 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.639, allocations: 0 / 0.7675 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005165/0.6395, allocations: 263.3 kB / 0.7678 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.6396, allocations: 81.14 kB / 0.7678 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.6396, allocations: 7.953 kB / 0.7679 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.6397, allocations: 12.05 kB / 0.7679 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.6397, allocations: 7.938 kB / 0.7679 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.6398, allocations: 8 kB / 0.7679 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.206e-05/0.6398, allocations: 87.27 kB / 0.768 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6398, allocations: 0 / 0.768 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003163/0.6401, allocations: 40 kB / 0.768 GB, free: 10.21 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.001035/0.6412, allocations: 0.8255 MB / 0.7688 GB, free: 9.363 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.6415, allocations: 91.95 kB / 0.7689 GB, free: 9.273 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.6415, allocations: 0 / 0.7689 GB, free: 9.273 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.6417, allocations: 55.84 kB / 0.769 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.6419, allocations: 11.95 kB / 0.769 GB, free: 9.207 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.6436, allocations: 0.7563 MB / 0.7697 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.6439, allocations: 0.6965 MB / 0.7704 GB, free: 7.68 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.115e-05/0.644, allocations: 16.61 kB / 0.7704 GB, free: 7.664 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.102e-05/0.6441, allocations: 23.42 kB / 0.7704 GB, free: 7.641 MB / 0.5417 GB Notification: Performance of SimCode: time 6.61e-07/0.6441, allocations: 4 kB / 0.7704 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.6606, allocations: 1.979 MB / 0.7724 GB, free: 5.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/0.6609, allocations: 223.9 kB / 0.7726 GB, free: 5.59 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.337, allocations: 3.938 kB / 0.7726 GB, free: 5.586 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)