Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.00103/0.00103, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001006/0.001006, allocations: 192.2 kB / 16.25 MB, free: 6.625 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.249/1.249, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7036/0.7036, allocations: 132.2 MB / 422.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.92 kB / 0.5014 GB, free: 8.984 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1246, allocations: 80.2 MB / 0.5797 GB, free: 9 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002238/0.1268, allocations: 1.519 MB / 0.5812 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008723/0.1277, allocations: 0.6344 MB / 0.5818 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.1277, allocations: 0 / 0.5818 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.1278, allocations: 0 / 0.5818 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.566e-05/0.1278, allocations: 15.91 kB / 0.5818 GB, free: 6.812 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.1283, allocations: 134.2 kB / 0.5819 GB, free: 6.684 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.832e-05/0.1284, allocations: 59.52 kB / 0.582 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.38e-05/0.1284, allocations: 8 kB / 0.582 GB, free: 6.617 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.659e-05/0.1285, allocations: 27.92 kB / 0.582 GB, free: 6.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.222e-05/0.1285, allocations: 23.91 kB / 0.582 GB, free: 6.566 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.1285, allocations: 4 kB / 0.582 GB, free: 6.562 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003986/0.1289, allocations: 343.3 kB / 0.5824 GB, free: 6.227 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.129, allocations: 19.91 kB / 0.5824 GB, free: 6.207 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.129, allocations: 23.88 kB / 0.5824 GB, free: 6.184 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.1292, allocations: 175.8 kB / 0.5826 GB, free: 6.012 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.1292, allocations: 0 / 0.5826 GB, free: 6.012 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1293, allocations: 4 kB / 0.5826 GB, free: 6.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1293, allocations: 4 kB / 0.5826 GB, free: 6.004 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004998/0.1298, allocations: 395.3 kB / 0.583 GB, free: 5.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.1298, allocations: 11.97 kB / 0.583 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.257e-05/0.1298, allocations: 34.75 kB / 0.583 GB, free: 5.516 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/0.1299, allocations: 8.844 kB / 0.583 GB, free: 5.508 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.02e-05/0.13, allocations: 164.4 kB / 0.5832 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.13, allocations: 8.375 kB / 0.5832 GB, free: 5.301 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.13, allocations: 12.27 kB / 0.5832 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.1302, allocations: 85.53 kB / 0.5833 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1303, allocations: 3.984 kB / 0.5833 GB, free: 5.195 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1303, allocations: 4 kB / 0.5833 GB, free: 5.191 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.1303, allocations: 4 kB / 0.5833 GB, free: 5.188 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002218/0.1305, allocations: 47.95 kB / 0.5833 GB, free: 5.141 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.131, allocations: 328.6 kB / 0.5837 GB, free: 4.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.1312, allocations: 90.5 kB / 0.5837 GB, free: 4.672 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.1314, allocations: 28.84 kB / 0.5838 GB, free: 4.641 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.1314, allocations: 0 / 0.5838 GB, free: 4.641 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.1314, allocations: 34.56 kB / 0.5838 GB, free: 4.598 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.1314, allocations: 4 kB / 0.5838 GB, free: 4.594 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001465/0.1329, allocations: 0.6501 MB / 0.5844 GB, free: 3.852 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.1329, allocations: 55.34 kB / 0.5845 GB, free: 3.785 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.484e-05/0.133, allocations: 101.8 kB / 0.5846 GB, free: 3.676 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.133, allocations: 29.7 kB / 0.5846 GB, free: 3.641 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.966e-05/0.133, allocations: 80.14 kB / 0.5847 GB, free: 3.559 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.1331, allocations: 47.36 kB / 0.5847 GB, free: 3.512 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.1331, allocations: 33.7 kB / 0.5848 GB, free: 3.473 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.023e-05/0.1332, allocations: 310.8 kB / 0.5851 GB, free: 3.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.1333, allocations: 35.97 kB / 0.5851 GB, free: 3.125 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.1335, allocations: 35.97 kB / 0.5851 GB, free: 3.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.1337, allocations: 63.59 kB / 0.5852 GB, free: 3.027 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1337, allocations: 0 / 0.5852 GB, free: 3.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002977/0.134, allocations: 125.8 kB / 0.5853 GB, free: 2.898 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.134, allocations: 9.969 kB / 0.5853 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.1341, allocations: 0 / 0.5853 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.1341, allocations: 3.938 kB / 0.5853 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.1342, allocations: 23.98 kB / 0.5854 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.1342, allocations: 4 kB / 0.5854 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.038e-05/0.1343, allocations: 7.938 kB / 0.5854 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.1343, allocations: 7.984 kB / 0.5854 GB, free: 2.844 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.893e-05/0.1344, allocations: 118.5 kB / 0.5855 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.1344, allocations: 7.906 kB / 0.5855 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.1348, allocations: 129.2 kB / 0.5856 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1348, allocations: 7.938 kB / 0.5856 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1348, allocations: 0 / 0.5856 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1348, allocations: 3.984 kB / 0.5856 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004991/0.1353, allocations: 386.4 kB / 0.586 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1353, allocations: 3.938 kB / 0.586 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.1354, allocations: 31.98 kB / 0.586 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1355, allocations: 192 / 0.586 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1355, allocations: 3.984 kB / 0.586 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1355, allocations: 0 / 0.586 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1355, allocations: 4.094 kB / 0.586 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/0.1359, allocations: 263.3 kB / 0.5863 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.136, allocations: 81.05 kB / 0.5864 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.136, allocations: 3.938 kB / 0.5864 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.1361, allocations: 11.98 kB / 0.5864 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.478e-05/0.1361, allocations: 4 kB / 0.5864 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.1362, allocations: 4 kB / 0.5864 GB, free: 1.699 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.48e-05/0.1362, allocations: 87.27 kB / 0.5865 GB, free: 1.613 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1362, allocations: 4.062 kB / 0.5865 GB, free: 1.609 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1365, allocations: 28 kB / 0.5865 GB, free: 1.582 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0007163/0.1372, allocations: 0.8177 MB / 0.5873 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002899/0.1375, allocations: 87.95 kB / 0.5874 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1375, allocations: 0 / 0.5874 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.1376, allocations: 47.91 kB / 0.5874 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.1379, allocations: 12.25 kB / 0.5874 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.1396, allocations: 1.619 MB / 0.589 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.1398, allocations: 0.6923 MB / 0.5897 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.846e-05/0.1399, allocations: 20.72 kB / 0.5897 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.14, allocations: 27.42 kB / 0.5897 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.14, allocations: 0 / 0.5897 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.116/0.256, allocations: 2.194 MB / 0.5919 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.2562, allocations: 246.6 kB / 0.5921 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/1.845, allocations: 3.656 kB / 0.5921 GB, free: 11.88 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)