Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_dp_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",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.0009966/0.0009966, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001018/0.001019, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.272/1.272, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7246/0.7246, allocations: 132.2 MB / 422.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 58.88 kB / 0.5014 GB, free: 8.98 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1267, allocations: 80.21 MB / 0.5797 GB, free: 8.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002118/0.1288, allocations: 1.328 MB / 0.581 GB, free: 7.648 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008748/0.1297, allocations: 0.6206 MB / 0.5816 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.1298, allocations: 0 / 0.5816 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.1298, allocations: 3.938 kB / 0.5816 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.477e-05/0.1298, allocations: 0 / 0.5816 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004741/0.1303, allocations: 131.6 kB / 0.5817 GB, free: 6.895 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.01e-05/0.1304, allocations: 31.91 kB / 0.5818 GB, free: 6.863 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.68e-05/0.1304, allocations: 3.938 kB / 0.5818 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.56e-05/0.1304, allocations: 19.92 kB / 0.5818 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.705e-05/0.1305, allocations: 11.94 kB / 0.5818 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.1305, allocations: 4 kB / 0.5818 GB, free: 6.824 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004192/0.1309, allocations: 339.4 kB / 0.5821 GB, free: 6.492 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.131, allocations: 11.94 kB / 0.5821 GB, free: 6.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.131, allocations: 19.92 kB / 0.5821 GB, free: 6.461 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.1312, allocations: 151.9 kB / 0.5823 GB, free: 6.312 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1312, allocations: 0 / 0.5823 GB, free: 6.312 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1312, allocations: 0 / 0.5823 GB, free: 6.312 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1312, allocations: 0 / 0.5823 GB, free: 6.312 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003475/0.1316, allocations: 371.3 kB / 0.5826 GB, free: 5.902 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1316, allocations: 8.031 kB / 0.5827 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.1317, allocations: 34.75 kB / 0.5827 GB, free: 5.852 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.1317, allocations: 0.9375 kB / 0.5827 GB, free: 5.852 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.687e-05/0.1318, allocations: 176.2 kB / 0.5829 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1318, allocations: 8.375 kB / 0.5829 GB, free: 5.633 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.1319, allocations: 4.375 kB / 0.5829 GB, free: 5.629 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.132, allocations: 45.62 kB / 0.5829 GB, free: 5.578 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.132, allocations: 7.906 kB / 0.5829 GB, free: 5.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.132, allocations: 4 kB / 0.5829 GB, free: 5.566 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.132, allocations: 0 / 0.5829 GB, free: 5.566 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.59e-05/0.1321, allocations: 19.98 kB / 0.5829 GB, free: 5.547 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.1322, allocations: 165.7 kB / 0.5831 GB, free: 5.336 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.612e-05/0.1323, allocations: 74.47 kB / 0.5832 GB, free: 5.254 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.927e-05/0.1324, allocations: 24.86 kB / 0.5832 GB, free: 5.227 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1324, allocations: 7.938 kB / 0.5832 GB, free: 5.219 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.1324, allocations: 34.55 kB / 0.5832 GB, free: 5.176 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1324, allocations: 0 / 0.5832 GB, free: 5.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001032/0.1335, allocations: 0.5802 MB / 0.5838 GB, free: 4.504 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.1335, allocations: 51.41 kB / 0.5838 GB, free: 4.441 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.58e-05/0.1336, allocations: 93.86 kB / 0.5839 GB, free: 4.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.1336, allocations: 29.7 kB / 0.584 GB, free: 4.305 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.6e-05/0.1336, allocations: 80.14 kB / 0.584 GB, free: 4.223 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.1337, allocations: 47.45 kB / 0.5841 GB, free: 4.176 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.1337, allocations: 29.81 kB / 0.5841 GB, free: 4.141 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.1338, allocations: 322.8 kB / 0.5844 GB, free: 3.816 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.828e-05/0.1338, allocations: 19.98 kB / 0.5844 GB, free: 3.797 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.34e-05/0.1339, allocations: 18.62 kB / 0.5845 GB, free: 3.781 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.999e-05/0.134, allocations: 64.72 kB / 0.5845 GB, free: 3.715 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.134, allocations: 0 / 0.5845 GB, free: 3.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001316/0.1341, allocations: 101.6 kB / 0.5846 GB, free: 3.609 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1341, allocations: 5.719 kB / 0.5846 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1341, allocations: 4 kB / 0.5846 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1342, allocations: 0 / 0.5846 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.99e-05/0.1343, allocations: 27.92 kB / 0.5847 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1343, allocations: 3.984 kB / 0.5847 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.445e-05/0.1343, allocations: 0 / 0.5847 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1343, allocations: 12 kB / 0.5847 GB, free: 3.559 MB / 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 (13): * Single equations (assignments): 13 * 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.914e-05/0.1344, allocations: 118.4 kB / 0.5848 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.1344, allocations: 0 / 0.5848 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.1346, allocations: 113.5 kB / 0.5849 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1346, allocations: 0 / 0.5849 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1346, allocations: 0 / 0.5849 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1346, allocations: 0 / 0.5849 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.135, allocations: 358.5 kB / 0.5852 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.135, allocations: 0 / 0.5852 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.1351, allocations: 23.92 kB / 0.5853 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1351, allocations: 4 kB / 0.5853 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1351, allocations: 0 / 0.5853 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1351, allocations: 4 kB / 0.5853 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1351, allocations: 0 / 0.5853 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.1354, allocations: 222.2 kB / 0.5855 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.1354, allocations: 85 kB / 0.5856 GB, free: 2.551 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.1354, allocations: 0 / 0.5856 GB, free: 2.551 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.025e-05/0.1355, allocations: 8.031 kB / 0.5856 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.1356, allocations: 7.984 kB / 0.5856 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1356, allocations: 3.938 kB / 0.5856 GB, free: 2.531 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.938e-05/0.1356, allocations: 87.28 kB / 0.5857 GB, free: 2.445 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1356, allocations: 0 / 0.5857 GB, free: 2.445 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1359, allocations: 32 kB / 0.5857 GB, free: 2.414 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0005333/0.1364, allocations: 0.7787 MB / 0.5865 GB, free: 1.605 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.1366, allocations: 72.06 kB / 0.5865 GB, free: 1.535 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1366, allocations: 0 / 0.5865 GB, free: 1.535 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.516e-05/0.1366, allocations: 31.92 kB / 0.5866 GB, free: 1.504 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.1369, allocations: 15.88 kB / 0.5866 GB, free: 1.488 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.1381, allocations: 1.514 MB / 0.588 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.1383, allocations: 0.6885 MB / 0.5887 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.506e-05/0.1384, allocations: 11.98 kB / 0.5887 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.1384, allocations: 19.44 kB / 0.5887 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1384, allocations: 0 / 0.5887 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1478/0.2863, allocations: 1.941 MB / 0.5906 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002834/0.2866, allocations: 236.6 kB / 0.5909 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/1.99, allocations: 0 / 0.5909 GB, free: 13.16 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)