Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.00147/0.00147, 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.001679/0.001679, allocations: 199.3 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.263/1.263, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8649/0.8649, allocations: 135.1 MB / 425.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 59.97 kB / 0.5048 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.134, allocations: 80.93 MB / 0.5838 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002317/0.1364, allocations: 1.325 MB / 0.5851 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009959/0.1374, allocations: 0.6284 MB / 0.5857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.486e-05/0.1374, allocations: 0 / 0.5857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.1374, allocations: 0 / 0.5857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.309e-05/0.1375, allocations: 7.984 kB / 0.5857 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004795/0.138, allocations: 119.6 kB / 0.5858 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.759e-05/0.138, allocations: 19.92 kB / 0.5859 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.37e-05/0.1381, allocations: 3.938 kB / 0.5859 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.185e-05/0.1381, allocations: 11.92 kB / 0.5859 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.221e-05/0.1382, allocations: 11.98 kB / 0.5859 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.898e-06/0.1382, allocations: 0 / 0.5859 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005023/0.1387, allocations: 339.4 kB / 0.5862 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.1387, allocations: 11.86 kB / 0.5862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.1387, allocations: 4 kB / 0.5862 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.139, allocations: 140 kB / 0.5864 GB, free: 2.289 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.139, allocations: 4 kB / 0.5864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.139, allocations: 0 / 0.5864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.139, allocations: 0 / 0.5864 GB, free: 2.285 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.0003907/0.1394, allocations: 367.4 kB / 0.5867 GB, free: 1.879 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.1394, allocations: 12.03 kB / 0.5867 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.196e-05/0.1395, allocations: 34.69 kB / 0.5868 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.1395, allocations: 0.9375 kB / 0.5868 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.1396, allocations: 172.3 kB / 0.5869 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.1396, allocations: 384 / 0.5869 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.1397, allocations: 4.375 kB / 0.5869 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.908e-05/0.1398, allocations: 49.56 kB / 0.587 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.1398, allocations: 0 / 0.587 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1398, allocations: 0 / 0.587 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1398, allocations: 0 / 0.587 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.777e-05/0.1399, allocations: 12 kB / 0.587 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.14, allocations: 161.6 kB / 0.5871 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.1402, allocations: 46.55 kB / 0.5872 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.1403, allocations: 28.92 kB / 0.5872 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1403, allocations: 7.938 kB / 0.5872 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.1403, allocations: 30.56 kB / 0.5873 GB, free: 1.207 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1403, allocations: 0 / 0.5873 GB, free: 1.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005831/0.1409, allocations: 310.2 kB / 0.5875 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.141, allocations: 51.41 kB / 0.5876 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.775e-05/0.141, allocations: 105.8 kB / 0.5877 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.141, allocations: 29.7 kB / 0.5877 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.1411, allocations: 84.14 kB / 0.5878 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.1411, allocations: 11.72 kB / 0.5878 GB, free: 0.543 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.1412, allocations: 25.7 kB / 0.5878 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.1413, allocations: 314.8 kB / 0.5881 GB, free: 200 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.744e-05/0.1413, allocations: 12 kB / 0.5882 GB, free: 188 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.1413, allocations: 7.984 kB / 0.5882 GB, free: 180 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.71e-05/0.1414, allocations: 36.86 kB / 0.5882 GB, free: 140 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1414, allocations: 0 / 0.5882 GB, free: 140 kB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001071/0.1415, allocations: 69.61 kB / 0.5883 GB, free: 64 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.1415, allocations: 4 kB / 0.5883 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1415, allocations: 0 / 0.5883 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.1415, allocations: 3.938 kB / 0.5883 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.063e-05/0.1416, allocations: 12 kB / 0.5883 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1416, allocations: 3.984 kB / 0.5883 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/0.1416, allocations: 4 kB / 0.5883 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-06/0.1416, allocations: 4 kB / 0.5883 GB, free: 32 kB / 494.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 7.938e-05/0.1417, allocations: 113.8 kB / 0.5884 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.1418, allocations: 4 kB / 0.5884 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.1419, allocations: 77.53 kB / 0.5885 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1419, allocations: 3.984 kB / 0.5885 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1419, allocations: 0 / 0.5885 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1419, allocations: 0 / 0.5885 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.1422, allocations: 311.3 kB / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1422, allocations: 8.031 kB / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-05/0.1423, allocations: 11.94 kB / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.1423, allocations: 0 / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1423, allocations: 4 kB / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1423, allocations: 7.922 kB / 0.5888 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1424, allocations: 192 / 0.5888 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.1425, allocations: 176.3 kB / 0.589 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.1426, allocations: 93.19 kB / 0.5891 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.1426, allocations: 0 / 0.5891 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.1427, allocations: 4 kB / 0.5891 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.1427, allocations: 3.938 kB / 0.5891 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.1427, allocations: 4 kB / 0.5891 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.618e-05/0.1428, allocations: 87.72 kB / 0.5892 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1428, allocations: 4 kB / 0.5892 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002556/0.143, allocations: 19.94 kB / 0.5892 GB, free: 15 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.000482/0.1435, allocations: 0.7289 MB / 0.5899 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.1436, allocations: 40.14 kB / 0.5899 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1437, allocations: 0 / 0.5899 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.988e-05/0.1437, allocations: 16 kB / 0.59 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.1439, allocations: 13.19 kB / 0.59 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.1451, allocations: 1.333 MB / 0.5913 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.1453, allocations: 0.6849 MB / 0.5919 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.182e-05/0.1454, allocations: 4 kB / 0.5919 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.1454, allocations: 10.94 kB / 0.5919 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1454, allocations: 0 / 0.5919 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1418/0.2872, allocations: 1.449 MB / 0.5934 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002921/0.2876, allocations: 243 kB / 0.5936 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/1.887, allocations: 0 / 0.5936 GB, free: 10.5 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)