Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.001514/0.001514, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001656/0.001656, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.293/1.293, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8633/0.8633, allocations: 135.1 MB / 425.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 67.89 kB / 0.5048 GB, free: 5.613 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1261, allocations: 80.92 MB / 0.5838 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002086/0.1283, allocations: 1.344 MB / 0.5851 GB, free: 3.504 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009419/0.1292, allocations: 0.6245 MB / 0.5857 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.297e-05/0.1292, allocations: 4 kB / 0.5857 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.1293, allocations: 0 / 0.5857 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.169e-05/0.1293, allocations: 3.938 kB / 0.5857 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.1297, allocations: 123.6 kB / 0.5859 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.194e-05/0.1298, allocations: 19.92 kB / 0.5859 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.163e-05/0.1298, allocations: 0 / 0.5859 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.942e-05/0.1298, allocations: 11.94 kB / 0.5859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.895e-05/0.1299, allocations: 7.984 kB / 0.5859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.1299, allocations: 0 / 0.5859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000455/0.1304, allocations: 351.3 kB / 0.5862 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.1304, allocations: 7.984 kB / 0.5862 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.1304, allocations: 11.92 kB / 0.5863 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.1307, allocations: 140 kB / 0.5864 GB, free: 2.211 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1307, allocations: 0 / 0.5864 GB, free: 2.211 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1307, allocations: 0 / 0.5864 GB, free: 2.211 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.1307, allocations: 0 / 0.5864 GB, free: 2.211 MB / 494.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.0003737/0.1311, allocations: 367.3 kB / 0.5867 GB, free: 1.805 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.1311, allocations: 12.03 kB / 0.5868 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.836e-05/0.1311, allocations: 38.69 kB / 0.5868 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.1312, allocations: 4.938 kB / 0.5868 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.296e-05/0.1313, allocations: 168.4 kB / 0.587 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.1313, allocations: 384 / 0.587 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.1313, allocations: 4.312 kB / 0.587 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.09e-05/0.1314, allocations: 45.62 kB / 0.587 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.1314, allocations: 0 / 0.587 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.1314, allocations: 0 / 0.587 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1314, allocations: 0 / 0.587 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.676e-05/0.1315, allocations: 8 kB / 0.587 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.1316, allocations: 165.6 kB / 0.5872 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.1318, allocations: 46.53 kB / 0.5872 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/0.1318, allocations: 20.94 kB / 0.5872 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.1319, allocations: 3.938 kB / 0.5872 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.1319, allocations: 38.56 kB / 0.5873 GB, free: 1.137 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1319, allocations: 0 / 0.5873 GB, free: 1.137 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005612/0.1325, allocations: 310.2 kB / 0.5876 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.1325, allocations: 51.41 kB / 0.5876 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.34e-05/0.1326, allocations: 101.8 kB / 0.5877 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.1326, allocations: 25.7 kB / 0.5877 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.015e-05/0.1326, allocations: 84.14 kB / 0.5878 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.1327, allocations: 15.72 kB / 0.5878 GB, free: 488 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.1327, allocations: 25.7 kB / 0.5879 GB, free: 456 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.137e-05/0.1328, allocations: 314.8 kB / 0.5882 GB, free: 132 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.383e-05/0.1328, allocations: 8 kB / 0.5882 GB, free: 124 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.163e-05/0.1328, allocations: 15.98 kB / 0.5882 GB, free: 108 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.211e-05/0.1329, allocations: 32.8 kB / 0.5882 GB, free: 72 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1329, allocations: 0 / 0.5882 GB, free: 72 kB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001114/0.133, allocations: 69.67 kB / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.133, allocations: 4 kB / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.133, allocations: 0 / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.1331, allocations: 3.938 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.308e-05/0.1331, allocations: 20.06 kB / 0.5883 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1331, allocations: 0 / 0.5883 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.1332, allocations: 0 / 0.5883 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1332, allocations: 7.938 kB / 0.5883 GB, free: 15.96 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.154e-05/0.1332, allocations: 117.7 kB / 0.5884 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.1332, allocations: 4 kB / 0.5884 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.1334, allocations: 65.66 kB / 0.5885 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1334, allocations: 0 / 0.5885 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1334, allocations: 3.938 kB / 0.5885 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1334, allocations: 7.984 kB / 0.5885 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.1337, allocations: 319.2 kB / 0.5888 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1337, allocations: 4 kB / 0.5888 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.342e-05/0.1338, allocations: 12 kB / 0.5888 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1338, allocations: 0 / 0.5888 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.1338, allocations: 4 kB / 0.5888 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1338, allocations: 0 / 0.5888 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1338, allocations: 0 / 0.5888 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.134, allocations: 184.3 kB / 0.589 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.134, allocations: 85.12 kB / 0.5891 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.134, allocations: 0 / 0.5891 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.1341, allocations: 4 kB / 0.5891 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.1341, allocations: 4.516 kB / 0.5891 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1342, allocations: 4.188 kB / 0.5891 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.198e-05/0.1342, allocations: 87.19 kB / 0.5892 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1342, allocations: 4.062 kB / 0.5892 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002485/0.1345, allocations: 23.94 kB / 0.5892 GB, free: 14.93 MB / 0.4981 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 (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.0004255/0.1349, allocations: 0.7366 MB / 0.5899 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.94e-05/0.135, allocations: 36 kB / 0.59 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.135, allocations: 0 / 0.59 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.568e-05/0.1351, allocations: 19.98 kB / 0.59 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.1353, allocations: 3.938 kB / 0.59 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.1363, allocations: 1.329 MB / 0.5913 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.1365, allocations: 0.6809 MB / 0.5919 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.077e-05/0.1366, allocations: 3.984 kB / 0.592 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.1366, allocations: 15.44 kB / 0.592 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1366, allocations: 96 / 0.592 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2183/0.3549, allocations: 1.476 MB / 0.5934 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/0.3552, allocations: 235.6 kB / 0.5936 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.031, allocations: 0 / 0.5936 GB, free: 10.43 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)