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.0009956/0.0009956, allocations: 91.77 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.005291/0.005291, allocations: 172.4 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.291/1.291, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8522/0.8522, allocations: 135.3 MB / 426.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002896/0.0002897, allocations: 8 kB / 0.5077 GB, free: 4.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1303, allocations: 82.31 MB / 0.5881 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001135/0.1314, allocations: 0.9926 MB / 0.589 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009162/0.1324, allocations: 0.6207 MB / 0.5897 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.318e-05/0.1324, allocations: 4 kB / 0.5897 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.1324, allocations: 3.984 kB / 0.5897 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.897e-05/0.1325, allocations: 7.922 kB / 0.5897 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.1329, allocations: 111.6 kB / 0.5898 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.152e-05/0.1329, allocations: 19.92 kB / 0.5898 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.1329, allocations: 4 kB / 0.5898 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.948e-05/0.133, allocations: 7.984 kB / 0.5898 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.046e-05/0.133, allocations: 7.922 kB / 0.5898 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.117e-06/0.133, allocations: 8 kB / 0.5898 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00044/0.1335, allocations: 339.3 kB / 0.5901 GB, free: 392 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.1335, allocations: 7.984 kB / 0.5902 GB, free: 384 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.1335, allocations: 33.64 kB / 0.5902 GB, free: 344 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.1338, allocations: 151.8 kB / 0.5903 GB, free: 192 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1338, allocations: 0 / 0.5903 GB, free: 192 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1338, allocations: 4 kB / 0.5903 GB, free: 188 kB / 494.1 MB Notification: Performance of Transformations before backend: time 2.855e-06/0.1338, allocations: 0 / 0.5903 GB, free: 188 kB / 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.000344/0.1341, allocations: 355.4 kB / 0.5907 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.1342, allocations: 12.03 kB / 0.5907 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.014e-05/0.1342, allocations: 34.75 kB / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.904e-05/0.1342, allocations: 0.9375 kB / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.575e-05/0.1343, allocations: 164.4 kB / 0.5909 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.1344, allocations: 4.375 kB / 0.5909 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.1344, allocations: 8.375 kB / 0.5909 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.525e-05/0.1345, allocations: 45.56 kB / 0.5909 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-06/0.1345, allocations: 0 / 0.5909 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1345, allocations: 4 kB / 0.5909 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1345, allocations: 0 / 0.5909 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.117e-05/0.1345, allocations: 8 kB / 0.5909 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.1347, allocations: 157.7 kB / 0.5911 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.1348, allocations: 42.61 kB / 0.5911 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/0.1349, allocations: 28.86 kB / 0.5912 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.1349, allocations: 11.86 kB / 0.5912 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.1349, allocations: 34.56 kB / 0.5912 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1349, allocations: 0 / 0.5912 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005181/0.1355, allocations: 310.1 kB / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.1355, allocations: 51.41 kB / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.709e-05/0.1356, allocations: 97.84 kB / 0.5916 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.1356, allocations: 29.7 kB / 0.5917 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.72e-05/0.1356, allocations: 80.14 kB / 0.5917 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.1357, allocations: 19.8 kB / 0.5918 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.1357, allocations: 13.72 kB / 0.5918 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.598e-05/0.1358, allocations: 314.8 kB / 0.5921 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.1358, allocations: 8 kB / 0.5921 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.22e-05/0.1358, allocations: 15.98 kB / 0.5921 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.234e-05/0.1359, allocations: 36.8 kB / 0.5921 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1359, allocations: 0 / 0.5921 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.323e-05/0.136, allocations: 73.52 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.136, allocations: 6.188 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.136, allocations: 0 / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.263e-06/0.136, allocations: 4 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.999e-05/0.1361, allocations: 15.98 kB / 0.5922 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1361, allocations: 0 / 0.5922 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.609e-05/0.1361, allocations: 0 / 0.5922 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.1361, allocations: 0 / 0.5922 GB, free: 13.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.998e-05/0.1362, allocations: 125.7 kB / 0.5924 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-06/0.1362, allocations: 0 / 0.5924 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.1364, allocations: 73.88 kB / 0.5924 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1364, allocations: 3.984 kB / 0.5924 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.1364, allocations: 4 kB / 0.5924 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1364, allocations: 0 / 0.5924 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.1367, allocations: 319.5 kB / 0.5927 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1367, allocations: 0 / 0.5927 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.839e-05/0.1367, allocations: 12 kB / 0.5927 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1367, allocations: 0 / 0.5927 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.1368, allocations: 0 / 0.5927 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1368, allocations: 7.984 kB / 0.5928 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1368, allocations: 0 / 0.5928 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.1369, allocations: 188.2 kB / 0.5929 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.137, allocations: 85.12 kB / 0.593 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.137, allocations: 0 / 0.593 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.835e-05/0.1371, allocations: 4 kB / 0.593 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.1371, allocations: 4 kB / 0.593 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.1371, allocations: 4 kB / 0.593 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.63e-05/0.1371, allocations: 87.78 kB / 0.5931 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1372, allocations: 0 / 0.5931 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002352/0.1374, allocations: 27.94 kB / 0.5931 GB, free: 12.92 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.0004193/0.1378, allocations: 0.7288 MB / 0.5938 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.916e-05/0.1379, allocations: 36.05 kB / 0.5939 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1379, allocations: 0 / 0.5939 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.65e-05/0.138, allocations: 19.94 kB / 0.5939 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.1382, allocations: 3.938 kB / 0.5939 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1392, allocations: 1.352 MB / 0.5952 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.1394, allocations: 0.6886 MB / 0.5959 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.718e-05/0.1395, allocations: 4 kB / 0.5959 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.1395, allocations: 15.42 kB / 0.5959 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of SimCode: time 1.452e-06/0.1395, allocations: 8 kB / 0.5959 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7076/0.8471, allocations: 1.37 MB / 0.5973 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/0.8474, allocations: 237.7 kB / 0.5975 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/2.41, allocations: 0 / 0.5975 GB, free: 8.496 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)