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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009655/0.0009656, allocations: 91.38 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007508/0.007508, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.295/1.295, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7541/0.7541, allocations: 132.3 MB / 423.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003013/0.0003013, allocations: 8 kB / 0.5041 GB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3493, allocations: 81.57 MB / 0.5837 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001286/0.3507, allocations: 1.188 MB / 0.5849 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009419/0.3516, allocations: 0.6426 MB / 0.5855 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.063e-05/0.3517, allocations: 1.125 kB / 0.5855 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/0.3517, allocations: 5.297 kB / 0.5855 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.421e-05/0.3517, allocations: 7.047 kB / 0.5855 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004301/0.3522, allocations: 137.6 kB / 0.5857 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.287e-05/0.3523, allocations: 48.64 kB / 0.5857 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.187e-05/0.3523, allocations: 3.812 kB / 0.5857 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.3e-05/0.3524, allocations: 21.11 kB / 0.5858 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.615e-05/0.3524, allocations: 29.8 kB / 0.5858 GB, free: 2.457 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.3524, allocations: 5.031 kB / 0.5858 GB, free: 2.457 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004881/0.3529, allocations: 342.6 kB / 0.5861 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.3529, allocations: 16.91 kB / 0.5861 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.353, allocations: 48.33 kB / 0.5862 GB, free: 2.305 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.3533, allocations: 171.9 kB / 0.5863 GB, free: 2.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3533, allocations: 6.703 kB / 0.5863 GB, free: 2.246 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3533, allocations: 0 / 0.5863 GB, free: 2.246 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.3533, allocations: 4 kB / 0.5863 GB, free: 2.242 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004565/0.3537, allocations: 387.3 kB / 0.5867 GB, free: 1.859 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3538, allocations: 9.906 kB / 0.5867 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.711e-05/0.3538, allocations: 37.81 kB / 0.5868 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.3539, allocations: 9.406 kB / 0.5868 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.197e-05/0.3539, allocations: 175.1 kB / 0.5869 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.354, allocations: 11.88 kB / 0.5869 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.354, allocations: 5.188 kB / 0.587 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.3542, allocations: 83.44 kB / 0.587 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3542, allocations: 1.219 kB / 0.587 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.3543, allocations: 4 kB / 0.587 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.3543, allocations: 1.438 kB / 0.587 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.3545, allocations: 67.38 kB / 0.5871 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.355, allocations: 326.9 kB / 0.5874 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.3553, allocations: 95.95 kB / 0.5875 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.3554, allocations: 30.39 kB / 0.5875 GB, free: 1.172 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.3555, allocations: 5.781 kB / 0.5875 GB, free: 1.168 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.3555, allocations: 33.02 kB / 0.5876 GB, free: 1.129 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.953e-06/0.3555, allocations: 0 / 0.5876 GB, free: 1.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001538/0.357, allocations: 0.6864 MB / 0.5882 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/0.3571, allocations: 53.23 kB / 0.5883 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.115e-05/0.3571, allocations: 96.64 kB / 0.5884 GB, free: 440 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.3571, allocations: 30.33 kB / 0.5884 GB, free: 404 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.443e-05/0.3572, allocations: 92.55 kB / 0.5885 GB, free: 312 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.3572, allocations: 38.72 kB / 0.5885 GB, free: 280 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.3572, allocations: 19.19 kB / 0.5886 GB, free: 260 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.535e-05/0.3573, allocations: 315 kB / 0.5889 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.3575, allocations: 39.53 kB / 0.5889 GB, free: 15.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.3576, allocations: 40.03 kB / 0.5889 GB, free: 15.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.3579, allocations: 83.27 kB / 0.589 GB, free: 15.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3579, allocations: 0 / 0.589 GB, free: 15.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003547/0.3583, allocations: 130.6 kB / 0.5891 GB, free: 15.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3583, allocations: 5.797 kB / 0.5891 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3583, allocations: 0 / 0.5891 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3583, allocations: 5.125 kB / 0.5892 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.3585, allocations: 31.11 kB / 0.5892 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3585, allocations: 2.031 kB / 0.5892 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.35e-05/0.3586, allocations: 11.08 kB / 0.5892 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3586, allocations: 2.5 kB / 0.5892 GB, free: 15.82 MB / 446.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 (13): * Single equations (assignments): 13 * 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 8.099e-05/0.3587, allocations: 119.2 kB / 0.5893 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.3587, allocations: 11.64 kB / 0.5893 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004185/0.3591, allocations: 137.8 kB / 0.5895 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.3591, allocations: 5.312 kB / 0.5895 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3591, allocations: 0 / 0.5895 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3591, allocations: 1.453 kB / 0.5895 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005984/0.3598, allocations: 398.7 kB / 0.5898 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.3598, allocations: 3.938 kB / 0.5898 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.3599, allocations: 27.17 kB / 0.5899 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3599, allocations: 0.875 kB / 0.5899 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.36, allocations: 1.625 kB / 0.5899 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.36, allocations: 1.766 kB / 0.5899 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.36, allocations: 0.7812 kB / 0.5899 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.3605, allocations: 269.4 kB / 0.5901 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.542e-05/0.3606, allocations: 84.19 kB / 0.5902 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.3606, allocations: 2.109 kB / 0.5902 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.3607, allocations: 15.39 kB / 0.5902 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.3607, allocations: 10.81 kB / 0.5902 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.3608, allocations: 3.797 kB / 0.5902 GB, free: 14.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.839e-05/0.3608, allocations: 87.61 kB / 0.5903 GB, free: 14.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3608, allocations: 0 / 0.5903 GB, free: 14.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.3611, allocations: 40.02 kB / 0.5904 GB, free: 14.89 MB / 446.1 MB 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 (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.0008593/0.362, allocations: 0.8294 MB / 0.5912 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003344/0.3623, allocations: 91.84 kB / 0.5913 GB, free: 14.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3623, allocations: 0 / 0.5913 GB, free: 14.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.3625, allocations: 53.94 kB / 0.5913 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.3628, allocations: 9.484 kB / 0.5913 GB, free: 14.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.365, allocations: 1.676 MB / 0.593 GB, free: 12.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.3653, allocations: 0.6948 MB / 0.5936 GB, free: 12.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.01e-05/0.3654, allocations: 9.281 kB / 0.5936 GB, free: 12.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.773e-05/0.3654, allocations: 23.64 kB / 0.5937 GB, free: 12.01 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3654, allocations: 0.6562 kB / 0.5937 GB, free: 12.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0955/0.461, allocations: 2.073 MB / 0.5957 GB, free: 11.84 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002897/0.4613, allocations: 240.6 kB / 0.5959 GB, free: 11.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/2.117, allocations: 4.812 kB / 0.5959 GB, free: 11.59 MB / 446.1 MB (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/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)