Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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_DerivativeCheck2,fileNamePrefix="IDEAS_dev_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_dev_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.001054/0.001054, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001072/0.001072, allocations: 194.2 kB / 16.14 MB, free: 6.707 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.288/1.288, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8838/0.8838, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 64.3 kB / 0.5048 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1252, allocations: 80.93 MB / 0.5838 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002305/0.1275, allocations: 1.53 MB / 0.5853 GB, free: 3.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000985/0.1285, allocations: 0.6424 MB / 0.5859 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.222e-05/0.1286, allocations: 0 / 0.5859 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.55e-05/0.1286, allocations: 3.938 kB / 0.5859 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.611e-05/0.1287, allocations: 11.97 kB / 0.586 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/0.1291, allocations: 134.4 kB / 0.5861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.731e-05/0.1292, allocations: 51.84 kB / 0.5861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.692e-05/0.1293, allocations: 4 kB / 0.5861 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.788e-05/0.1293, allocations: 19.92 kB / 0.5862 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.716e-05/0.1294, allocations: 23.91 kB / 0.5862 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.1294, allocations: 7.938 kB / 0.5862 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004624/0.1298, allocations: 351.3 kB / 0.5865 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.1299, allocations: 7.938 kB / 0.5865 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.538e-05/0.1299, allocations: 31.84 kB / 0.5866 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.1302, allocations: 179.8 kB / 0.5867 GB, free: 1.887 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1302, allocations: 0 / 0.5867 GB, free: 1.887 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1302, allocations: 0 / 0.5867 GB, free: 1.887 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.1302, allocations: 0 / 0.5867 GB, free: 1.887 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.0005242/0.1307, allocations: 395.3 kB / 0.5871 GB, free: 1.453 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1308, allocations: 12.03 kB / 0.5871 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.1308, allocations: 46.72 kB / 0.5872 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.1308, allocations: 8.844 kB / 0.5872 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.536e-05/0.1309, allocations: 168.3 kB / 0.5873 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.131, allocations: 4.375 kB / 0.5873 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.131, allocations: 8.375 kB / 0.5873 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.1312, allocations: 85.58 kB / 0.5874 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1313, allocations: 3.906 kB / 0.5874 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1313, allocations: 0 / 0.5874 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1313, allocations: 0 / 0.5874 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.1315, allocations: 55.97 kB / 0.5875 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.132, allocations: 324.6 kB / 0.5878 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.1323, allocations: 78.53 kB / 0.5879 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.1325, allocations: 32.84 kB / 0.5879 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.1325, allocations: 4.141 kB / 0.5879 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.1325, allocations: 34.5 kB / 0.5879 GB, free: 492 kB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.1325, allocations: 0 / 0.5879 GB, free: 492 kB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001591/0.1341, allocations: 0.6461 MB / 0.5886 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.1342, allocations: 51.41 kB / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.573e-05/0.1342, allocations: 105.8 kB / 0.5887 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1342, allocations: 29.7 kB / 0.5887 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.1343, allocations: 88.22 kB / 0.5888 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.1343, allocations: 39.39 kB / 0.5889 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.1344, allocations: 29.7 kB / 0.5889 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.1345, allocations: 322.8 kB / 0.5892 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.1346, allocations: 31.97 kB / 0.5892 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.1347, allocations: 27.98 kB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.135, allocations: 76.83 kB / 0.5893 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.135, allocations: 3.938 kB / 0.5893 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003087/0.1353, allocations: 121.4 kB / 0.5895 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1354, allocations: 8 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1354, allocations: 0 / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1354, allocations: 3.938 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.1355, allocations: 27.97 kB / 0.5895 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1355, allocations: 11.92 kB / 0.5895 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.1356, allocations: 4 kB / 0.5895 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.1356, allocations: 8.188 kB / 0.5895 GB, free: 14.72 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 (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 7.294e-05/0.1357, allocations: 117.8 kB / 0.5896 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.1357, allocations: 7.891 kB / 0.5896 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003696/0.1361, allocations: 133.2 kB / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1361, allocations: 7.938 kB / 0.5898 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1361, allocations: 0 / 0.5898 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1362, allocations: 0 / 0.5898 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.1367, allocations: 382.4 kB / 0.5901 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.1367, allocations: 3.938 kB / 0.5901 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.1369, allocations: 23.98 kB / 0.5902 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1369, allocations: 0 / 0.5902 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1369, allocations: 8 kB / 0.5902 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1369, allocations: 4 kB / 0.5902 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1369, allocations: 0 / 0.5902 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004996/0.1374, allocations: 247.3 kB / 0.5904 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.1375, allocations: 93.06 kB / 0.5905 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.1375, allocations: 0 / 0.5905 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.1376, allocations: 4 kB / 0.5905 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.885e-05/0.1376, allocations: 12.05 kB / 0.5905 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.1377, allocations: 8 kB / 0.5905 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.736e-05/0.1377, allocations: 83.27 kB / 0.5906 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1377, allocations: 0 / 0.5906 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002737/0.138, allocations: 36 kB / 0.5906 GB, free: 13.46 MB / 0.4981 GB 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.000777/0.1388, allocations: 0.8292 MB / 0.5914 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002889/0.1391, allocations: 75.95 kB / 0.5915 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1391, allocations: 0 / 0.5915 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.1392, allocations: 47.91 kB / 0.5916 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.1395, allocations: 11.25 kB / 0.5916 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.1414, allocations: 1.62 MB / 0.5932 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.1416, allocations: 0.6933 MB / 0.5938 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.185e-05/0.1417, allocations: 12.66 kB / 0.5938 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.1417, allocations: 27.44 kB / 0.5939 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1417, allocations: 4 kB / 0.5939 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.1603, allocations: 2.149 MB / 0.596 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002758/0.1606, allocations: 241.2 kB / 0.5962 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/1.834, allocations: 0 / 0.5962 GB, free: 7.809 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)