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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 194.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7556/0.7556, allocations: 132.2 MB / 422.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 60.59 kB / 0.5019 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3637, allocations: 80.2 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002133/0.3659, allocations: 1.275 MB / 0.5814 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008542/0.3668, allocations: 0.6192 MB / 0.582 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.282e-05/0.3668, allocations: 4 kB / 0.5821 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.3668, allocations: 0.75 kB / 0.5821 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.481e-05/0.3669, allocations: 5.562 kB / 0.5821 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.3674, allocations: 144.6 kB / 0.5822 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.585e-05/0.3675, allocations: 20.61 kB / 0.5822 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.3675, allocations: 1.922 kB / 0.5822 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.127e-05/0.3675, allocations: 8.703 kB / 0.5822 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.167e-05/0.3676, allocations: 9.828 kB / 0.5822 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.3676, allocations: 8.797 kB / 0.5822 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005335/0.3681, allocations: 343.4 kB / 0.5826 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.3682, allocations: 1.578 kB / 0.5826 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.3682, allocations: 15.95 kB / 0.5826 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.3684, allocations: 148.7 kB / 0.5827 GB, free: 2.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3685, allocations: 0.6562 kB / 0.5827 GB, free: 2.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3685, allocations: 0.7812 kB / 0.5827 GB, free: 2.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.3685, allocations: 0 / 0.5827 GB, free: 2.98 MB / 430.1 MB 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.0003031/0.3688, allocations: 357.6 kB / 0.5831 GB, free: 2.605 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.3688, allocations: 10.06 kB / 0.5831 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.612e-05/0.3689, allocations: 35.45 kB / 0.5831 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.3689, allocations: 3.812 kB / 0.5831 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.224e-05/0.3689, allocations: 166 kB / 0.5833 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.369, allocations: 6.406 kB / 0.5833 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.369, allocations: 2.781 kB / 0.5833 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.592e-05/0.3691, allocations: 42.27 kB / 0.5833 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3691, allocations: 9 kB / 0.5833 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.3691, allocations: 0.7031 kB / 0.5833 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3691, allocations: 1.5 kB / 0.5833 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.596e-05/0.3692, allocations: 7.266 kB / 0.5833 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/0.3693, allocations: 167 kB / 0.5835 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.3694, allocations: 40.33 kB / 0.5835 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.3695, allocations: 17.16 kB / 0.5836 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.3695, allocations: 9.422 kB / 0.5836 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.3695, allocations: 36 kB / 0.5836 GB, free: 2.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.3695, allocations: 5.188 kB / 0.5836 GB, free: 2.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005207/0.3701, allocations: 308.4 kB / 0.5839 GB, free: 1.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.3701, allocations: 52.41 kB / 0.584 GB, free: 1.668 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.871e-05/0.3701, allocations: 95.95 kB / 0.584 GB, free: 1.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.3702, allocations: 31.08 kB / 0.5841 GB, free: 1.535 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.341e-05/0.3702, allocations: 84.08 kB / 0.5842 GB, free: 1.449 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.3702, allocations: 24.8 kB / 0.5842 GB, free: 1.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.3702, allocations: 23.42 kB / 0.5842 GB, free: 1.406 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.704e-05/0.3703, allocations: 313.6 kB / 0.5845 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.902e-05/0.3703, allocations: 12.06 kB / 0.5845 GB, free: 1.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.351e-05/0.3704, allocations: 12.84 kB / 0.5845 GB, free: 1.086 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.092e-05/0.3704, allocations: 29.02 kB / 0.5845 GB, free: 1.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.3704, allocations: 0 / 0.5845 GB, free: 1.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.986e-05/0.3705, allocations: 71.64 kB / 0.5846 GB, free: 1.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3705, allocations: 6 kB / 0.5846 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3705, allocations: 0 / 0.5846 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.3706, allocations: 5.625 kB / 0.5846 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.3e-05/0.3706, allocations: 11.23 kB / 0.5846 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3706, allocations: 0 / 0.5846 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.735e-05/0.3706, allocations: 0.8438 kB / 0.5846 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.3707, allocations: 2.578 kB / 0.5846 GB, free: 1.016 MB / 430.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/0.3707, allocations: 118.3 kB / 0.5848 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.3707, allocations: 1.219 kB / 0.5848 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.3709, allocations: 77.56 kB / 0.5848 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3709, allocations: 5.5 kB / 0.5848 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3709, allocations: 0 / 0.5848 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3709, allocations: 0.7812 kB / 0.5848 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.3711, allocations: 324.8 kB / 0.5851 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3711, allocations: 1.281 kB / 0.5851 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.472e-05/0.3712, allocations: 11 kB / 0.5852 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3712, allocations: 1.531 kB / 0.5852 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.3712, allocations: 2.391 kB / 0.5852 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3713, allocations: 0 / 0.5852 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3713, allocations: 1.344 kB / 0.5852 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.3714, allocations: 187.7 kB / 0.5853 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.3715, allocations: 85.58 kB / 0.5854 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.3715, allocations: 2.25 kB / 0.5854 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.3716, allocations: 1.734 kB / 0.5854 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/0.3716, allocations: 4 kB / 0.5854 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.3716, allocations: 2.594 kB / 0.5854 GB, free: 240 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.077e-05/0.3716, allocations: 90.66 kB / 0.5855 GB, free: 152 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3716, allocations: 0.75 kB / 0.5855 GB, free: 152 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.3719, allocations: 19.67 kB / 0.5855 GB, free: 148 kB / 430.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004699/0.3724, allocations: 0.7372 MB / 0.5863 GB, free: 15.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.3725, allocations: 32.84 kB / 0.5863 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3725, allocations: 3.938 kB / 0.5863 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.302e-05/0.3725, allocations: 17.58 kB / 0.5863 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.3728, allocations: 6.812 kB / 0.5863 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.3739, allocations: 1.327 MB / 0.5876 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.3741, allocations: 0.6794 MB / 0.5883 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.058e-05/0.3741, allocations: 4.391 kB / 0.5883 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.3742, allocations: 19.78 kB / 0.5883 GB, free: 13.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3742, allocations: 0 / 0.5883 GB, free: 13.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5144/0.8885, allocations: 1.573 MB / 0.5898 GB, free: 13.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.98, allocations: 11.56 kB / 0.5898 GB, free: 13.11 MB / 446.1 MB (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/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)