Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.011/0.011, allocations: 168.5 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.858/0.858, allocations: 135.2 MB / 151 MB, free: 13.8 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.644/1.644, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.001052/0.001051, allocations: 104.5 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004119/0.0004119, allocations: 8 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.478/0.4785, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.6285, allocations: 112 MB / 0.7589 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.6289, allocations: 83.94 kB / 0.759 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008659/0.6376, allocations: 2.865 MB / 0.7618 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6376, allocations: 0 / 0.7618 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.6376, allocations: 0 / 0.7618 GB, free: 0.9961 MB / 0.5261 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.0003794/0.638, allocations: 359.1 kB / 0.7622 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.6381, allocations: 8.031 kB / 0.7622 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.384e-05/0.6381, allocations: 42.56 kB / 0.7622 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.753e-05/0.6382, allocations: 3.938 kB / 0.7622 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.6383, allocations: 163 kB / 0.7624 GB, free: 344 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.6384, allocations: 7.984 kB / 0.7624 GB, free: 336 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.6384, allocations: 0 / 0.7624 GB, free: 336 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.6385, allocations: 37.7 kB / 0.7624 GB, free: 292 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.6385, allocations: 0 / 0.7624 GB, free: 292 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.6386, allocations: 3.984 kB / 0.7624 GB, free: 288 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.6386, allocations: 0 / 0.7624 GB, free: 288 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.098e-05/0.6386, allocations: 8 kB / 0.7624 GB, free: 280 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.6388, allocations: 165.6 kB / 0.7626 GB, free: 64 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.639, allocations: 42.55 kB / 0.7626 GB, free: 12 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.639, allocations: 0 / 0.7626 GB, free: 12 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.6391, allocations: 38.56 kB / 0.7627 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.6391, allocations: 0 / 0.7627 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0006481/0.6398, allocations: 318.3 kB / 0.763 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.6398, allocations: 51.41 kB / 0.763 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.302e-05/0.6399, allocations: 93 kB / 0.7631 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.6399, allocations: 25.7 kB / 0.7631 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.64, allocations: 84.08 kB / 0.7632 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.64, allocations: 23.7 kB / 0.7632 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.64, allocations: 0 / 0.7632 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.6401, allocations: 318.7 kB / 0.7635 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.413e-05/0.6402, allocations: 16 kB / 0.7635 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.045e-05/0.6402, allocations: 11.98 kB / 0.7636 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.922e-05/0.6402, allocations: 15.94 kB / 0.7636 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.6402, allocations: 0 / 0.7636 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.35e-05/0.6403, allocations: 69.59 kB / 0.7636 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.6404, allocations: 4 kB / 0.7636 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.6404, allocations: 0 / 0.7636 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.6404, allocations: 0.5156 kB / 0.7636 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.967e-05/0.6404, allocations: 12 kB / 0.7636 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.6404, allocations: 0 / 0.7636 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.105e-05/0.6405, allocations: 4 kB / 0.7637 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.6405, allocations: 7.938 kB / 0.7637 GB, free: 14.84 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.035e-05/0.6406, allocations: 117.8 kB / 0.7638 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.6406, allocations: 4 kB / 0.7638 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.6407, allocations: 65.66 kB / 0.7638 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.6408, allocations: 3.984 kB / 0.7638 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6408, allocations: 0 / 0.7638 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.6408, allocations: 0 / 0.7638 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.6411, allocations: 323.3 kB / 0.7642 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.6411, allocations: 0 / 0.7642 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.956e-05/0.6412, allocations: 12 kB / 0.7642 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.6412, allocations: 0 / 0.7642 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.6412, allocations: 4 kB / 0.7642 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.6412, allocations: 4 kB / 0.7642 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6412, allocations: 3.938 kB / 0.7642 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.6414, allocations: 198.2 kB / 0.7644 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.6415, allocations: 85.12 kB / 0.7644 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.6415, allocations: 0 / 0.7644 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.373e-05/0.6416, allocations: 416 / 0.7644 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.6416, allocations: 8 kB / 0.7645 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.6416, allocations: 7.953 kB / 0.7645 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.795e-05/0.6417, allocations: 79.27 kB / 0.7645 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6417, allocations: 0 / 0.7645 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002433/0.6419, allocations: 39.94 kB / 0.7646 GB, free: 13.78 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0005689/0.6425, allocations: 0.8148 MB / 0.7654 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.6426, allocations: 35.92 kB / 0.7654 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6426, allocations: 4.062 kB / 0.7654 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.191e-05/0.6426, allocations: 16 kB / 0.7654 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.6428, allocations: 7.953 kB / 0.7654 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007616/0.6436, allocations: 491.6 kB / 0.7659 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.6438, allocations: 0.6848 MB / 0.7666 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.455e-05/0.6439, allocations: 8.062 kB / 0.7666 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.6439, allocations: 15.44 kB / 0.7666 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of SimCode: time 3.747e-06/0.6439, allocations: 0 / 0.7666 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01373/0.6577, allocations: 1.346 MB / 0.7679 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002608/0.658, allocations: 216.9 kB / 0.7681 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.332, allocations: 6.125 kB / 0.7681 GB, free: 10.18 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)