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.0009541/0.0009542, allocations: 91.3 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.00729/0.00729, allocations: 170.3 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7425/0.7425, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.0004571, allocations: 8 kB / 0.5041 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3567, allocations: 81.57 MB / 0.5838 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001113/0.3579, allocations: 1.006 MB / 0.5847 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008642/0.3588, allocations: 0.6136 MB / 0.5853 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.309e-05/0.3588, allocations: 4.938 kB / 0.5853 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.3588, allocations: 0.6094 kB / 0.5853 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.131e-05/0.3588, allocations: 5.297 kB / 0.5853 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.3593, allocations: 126.4 kB / 0.5855 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.383e-05/0.3593, allocations: 16.41 kB / 0.5855 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.3594, allocations: 1.672 kB / 0.5855 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.994e-05/0.3594, allocations: 9.688 kB / 0.5855 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.993e-05/0.3594, allocations: 12.47 kB / 0.5855 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.3595, allocations: 1.281 kB / 0.5855 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004971/0.36, allocations: 344.7 kB / 0.5858 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.36, allocations: 1.531 kB / 0.5858 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.36, allocations: 39.22 kB / 0.5859 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.3603, allocations: 151.9 kB / 0.586 GB, free: 2.602 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3603, allocations: 1.25 kB / 0.586 GB, free: 2.602 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3603, allocations: 0 / 0.586 GB, free: 2.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.3603, allocations: 3.938 kB / 0.586 GB, free: 2.598 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.0002871/0.3606, allocations: 358.2 kB / 0.5864 GB, free: 2.219 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3606, allocations: 9.531 kB / 0.5864 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.261e-05/0.3607, allocations: 32.56 kB / 0.5864 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.272e-05/0.3607, allocations: 3.203 kB / 0.5864 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.394e-05/0.3608, allocations: 167.5 kB / 0.5866 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-06/0.3608, allocations: 384 / 0.5866 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.3608, allocations: 2.406 kB / 0.5866 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.028e-05/0.3609, allocations: 48.25 kB / 0.5866 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.3609, allocations: 0 / 0.5866 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.3609, allocations: 1.25 kB / 0.5866 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3609, allocations: 4 kB / 0.5866 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.753e-05/0.361, allocations: 11.81 kB / 0.5866 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.3611, allocations: 155.6 kB / 0.5868 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.3612, allocations: 43.58 kB / 0.5868 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/0.3613, allocations: 21.84 kB / 0.5868 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.3613, allocations: 9.656 kB / 0.5868 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.244e-05/0.3613, allocations: 39.53 kB / 0.5869 GB, free: 1.637 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.3613, allocations: 0 / 0.5869 GB, free: 1.637 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004838/0.3618, allocations: 305.5 kB / 0.5872 GB, free: 1.355 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.632e-05/0.3618, allocations: 52.28 kB / 0.5872 GB, free: 1.293 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.931e-05/0.3619, allocations: 99.77 kB / 0.5873 GB, free: 1.191 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.3619, allocations: 26.52 kB / 0.5873 GB, free: 1.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.377e-05/0.3619, allocations: 82.53 kB / 0.5874 GB, free: 1.078 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.362, allocations: 31.23 kB / 0.5875 GB, free: 1.051 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.362, allocations: 16.47 kB / 0.5875 GB, free: 1.031 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.343e-05/0.362, allocations: 312.9 kB / 0.5878 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.443e-05/0.362, allocations: 11.59 kB / 0.5878 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.109e-05/0.3621, allocations: 12.3 kB / 0.5878 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.938e-05/0.3621, allocations: 37.52 kB / 0.5878 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3621, allocations: 0 / 0.5878 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.156e-05/0.3622, allocations: 69.42 kB / 0.5879 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.3623, allocations: 6.125 kB / 0.5879 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3623, allocations: 8.656 kB / 0.5879 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.3623, allocations: 0.75 kB / 0.5879 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.184e-05/0.3623, allocations: 11.27 kB / 0.5879 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3623, allocations: 0.6875 kB / 0.5879 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.683e-05/0.3624, allocations: 0.875 kB / 0.5879 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.3624, allocations: 2.109 kB / 0.5879 GB, free: 0.6328 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.359e-05/0.3624, allocations: 121.9 kB / 0.588 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.3624, allocations: 6.562 kB / 0.588 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.3626, allocations: 72.77 kB / 0.5881 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3626, allocations: 1.125 kB / 0.5881 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3626, allocations: 0.7031 kB / 0.5881 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3626, allocations: 0.9062 kB / 0.5881 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.3628, allocations: 316.6 kB / 0.5884 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3628, allocations: 1.188 kB / 0.5884 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.017e-05/0.3629, allocations: 10.78 kB / 0.5884 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3629, allocations: 1.812 kB / 0.5884 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.3629, allocations: 5.094 kB / 0.5884 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3629, allocations: 5 kB / 0.5884 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3629, allocations: 1.938 kB / 0.5884 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.3631, allocations: 184.1 kB / 0.5886 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.3632, allocations: 82.02 kB / 0.5887 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.3632, allocations: 1.094 kB / 0.5887 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.117e-05/0.3633, allocations: 5.984 kB / 0.5887 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.3633, allocations: 8.625 kB / 0.5887 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.3633, allocations: 5.344 kB / 0.5887 GB, free: 15.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.496e-05/0.3633, allocations: 88.36 kB / 0.5888 GB, free: 15.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3633, allocations: 0 / 0.5888 GB, free: 15.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.3636, allocations: 19.44 kB / 0.5888 GB, free: 15.76 MB / 446.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.0004354/0.364, allocations: 0.7374 MB / 0.5895 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.23e-05/0.3641, allocations: 31.22 kB / 0.5896 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3642, allocations: 0 / 0.5896 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.04e-05/0.3642, allocations: 17.08 kB / 0.5896 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.3644, allocations: 11.52 kB / 0.5896 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.3655, allocations: 1.35 MB / 0.5909 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.3657, allocations: 0.6793 MB / 0.5916 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.164e-05/0.3657, allocations: 13.19 kB / 0.5916 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.3658, allocations: 12.34 kB / 0.5916 GB, free: 13.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3658, allocations: 0 / 0.5916 GB, free: 13.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09817/0.464, allocations: 1.391 MB / 0.593 GB, free: 12.92 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/0.4642, allocations: 236.5 kB / 0.5932 GB, free: 12.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.329, allocations: 0 / 0.5932 GB, free: 12.67 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)