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.0008289/0.0008289, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0009688/0.0009689, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7218/0.7218, allocations: 132.3 MB / 423.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002945, allocations: 8.219 kB / 0.5035 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3797, allocations: 81.58 MB / 0.5832 GB, free: 4.23 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001229/0.381, allocations: 0.9947 MB / 0.5841 GB, free: 3.492 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008528/0.3819, allocations: 0.5609 MB / 0.5847 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.619e-05/0.3819, allocations: 1.938 kB / 0.5847 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.3819, allocations: 5.203 kB / 0.5847 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.677e-05/0.382, allocations: 5.844 kB / 0.5847 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.3824, allocations: 116.9 kB / 0.5848 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.59e-05/0.3825, allocations: 22.8 kB / 0.5848 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.054e-05/0.3826, allocations: 3 kB / 0.5848 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.576e-05/0.3826, allocations: 4.234 kB / 0.5848 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.3827, allocations: 13.56 kB / 0.5848 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.3827, allocations: 1 kB / 0.5848 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006016/0.3833, allocations: 332.1 kB / 0.5852 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.3833, allocations: 9.578 kB / 0.5852 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.3833, allocations: 32.11 kB / 0.5852 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.3835, allocations: 98.2 kB / 0.5853 GB, free: 2.875 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3835, allocations: 0.7812 kB / 0.5853 GB, free: 2.875 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3836, allocations: 0 / 0.5853 GB, free: 2.875 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.3836, allocations: 0 / 0.5853 GB, free: 2.875 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.0003254/0.3839, allocations: 354.8 kB / 0.5856 GB, free: 2.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3839, allocations: 14 kB / 0.5856 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.926e-05/0.384, allocations: 32.06 kB / 0.5857 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.329e-05/0.384, allocations: 2.172 kB / 0.5857 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.781e-05/0.3841, allocations: 173 kB / 0.5858 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.3841, allocations: 1.781 kB / 0.5858 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.3841, allocations: 6.516 kB / 0.5859 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.005e-05/0.3842, allocations: 47.53 kB / 0.5859 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3842, allocations: 0 / 0.5859 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.3842, allocations: 0.8438 kB / 0.5859 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3843, allocations: 1.375 kB / 0.5859 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.355e-05/0.3843, allocations: 6.297 kB / 0.5859 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001169/0.3844, allocations: 164.9 kB / 0.5861 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.3846, allocations: 47.02 kB / 0.5861 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.38e-05/0.3846, allocations: 24.64 kB / 0.5861 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.3846, allocations: 1.547 kB / 0.5861 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.3847, allocations: 32.34 kB / 0.5862 GB, free: 1.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3847, allocations: 0 / 0.5862 GB, free: 1.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004991/0.3852, allocations: 316 kB / 0.5865 GB, free: 1.617 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/0.3852, allocations: 52.86 kB / 0.5865 GB, free: 1.555 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.042e-05/0.3852, allocations: 95.95 kB / 0.5866 GB, free: 1.457 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.3853, allocations: 30.83 kB / 0.5866 GB, free: 1.422 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.487e-05/0.3853, allocations: 80.14 kB / 0.5867 GB, free: 1.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.3853, allocations: 19.89 kB / 0.5867 GB, free: 1.324 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.3853, allocations: 4.875 kB / 0.5867 GB, free: 1.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.745e-05/0.3854, allocations: 318.1 kB / 0.587 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.326e-05/0.3854, allocations: 15.47 kB / 0.5871 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/0.3854, allocations: 11.33 kB / 0.5871 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.037e-05/0.3854, allocations: 12.28 kB / 0.5871 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.3855, allocations: 0 / 0.5871 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.216e-05/0.3856, allocations: 67.58 kB / 0.5871 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3856, allocations: 5.656 kB / 0.5871 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3856, allocations: 0 / 0.5871 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.3856, allocations: 1.219 kB / 0.5871 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.483e-05/0.3857, allocations: 15.75 kB / 0.5872 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3857, allocations: 0 / 0.5872 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.3857, allocations: 5.875 kB / 0.5872 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.3857, allocations: 5.219 kB / 0.5872 GB, free: 0.9297 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.05e-05/0.3858, allocations: 118.2 kB / 0.5873 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-06/0.3858, allocations: 2.281 kB / 0.5873 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.3859, allocations: 73.02 kB / 0.5874 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.3859, allocations: 0 / 0.5874 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3859, allocations: 0.8438 kB / 0.5874 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3859, allocations: 0.7031 kB / 0.5874 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.3862, allocations: 320.9 kB / 0.5877 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3862, allocations: 1.438 kB / 0.5877 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.496e-05/0.3863, allocations: 10.98 kB / 0.5877 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3863, allocations: 4.656 kB / 0.5877 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.3863, allocations: 2.453 kB / 0.5877 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3863, allocations: 0.8438 kB / 0.5877 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3863, allocations: 0.9688 kB / 0.5877 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.3865, allocations: 186.8 kB / 0.5879 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.3865, allocations: 86.62 kB / 0.5879 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.3865, allocations: 5.406 kB / 0.588 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.3866, allocations: 1.688 kB / 0.588 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.3866, allocations: 4.953 kB / 0.588 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.3867, allocations: 1.75 kB / 0.588 GB, free: 156 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.818e-05/0.3867, allocations: 83.97 kB / 0.588 GB, free: 76 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3867, allocations: 0 / 0.588 GB, free: 76 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.3869, allocations: 19.12 kB / 0.5881 GB, free: 72 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 (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.0005626/0.3875, allocations: 0.7403 MB / 0.5888 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.76e-05/0.3876, allocations: 27.94 kB / 0.5888 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3876, allocations: 0 / 0.5888 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.358e-05/0.3877, allocations: 25.48 kB / 0.5888 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.3879, allocations: 6.625 kB / 0.5888 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007313/0.3886, allocations: 497 kB / 0.5893 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.3889, allocations: 0.68 MB / 0.59 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.405e-05/0.389, allocations: 8.75 kB / 0.59 GB, free: 14.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.389, allocations: 15.78 kB / 0.59 GB, free: 14.21 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.389, allocations: 0 / 0.59 GB, free: 14.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01125/0.4003, allocations: 1.376 MB / 0.5913 GB, free: 14.1 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/0.4005, allocations: 223.2 kB / 0.5916 GB, free: 13.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.17, allocations: 0 / 0.5916 GB, free: 13.86 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/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) Environment - environmentSimulation: