Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_DerivativeCheck2,fileNamePrefix="IDEAS_dev_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_dev_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.005418/0.005418, allocations: 102.9 kB / 15.73 MB, free: 6.469 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.001406/0.001406, allocations: 194.2 kB / 16.67 MB, free: 6.379 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9854/0.9854, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 63.89 kB / 0.5851 GB, free: 3.863 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.427, allocations: 80.91 MB / 0.6641 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002117/0.4292, allocations: 1.29 MB / 0.6654 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000897/0.4301, allocations: 0.6158 MB / 0.666 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.203e-05/0.4302, allocations: 0 / 0.666 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.319e-05/0.4302, allocations: 7.922 kB / 0.666 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.545e-05/0.4303, allocations: 1.625 kB / 0.666 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005715/0.4309, allocations: 145 kB / 0.6662 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.308e-05/0.4309, allocations: 29.64 kB / 0.6662 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.431, allocations: 5.656 kB / 0.6662 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.619e-05/0.431, allocations: 17.61 kB / 0.6662 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.007e-05/0.4311, allocations: 20.34 kB / 0.6662 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.4311, allocations: 2.156 kB / 0.6662 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004286/0.4315, allocations: 338 kB / 0.6666 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.4316, allocations: 7.109 kB / 0.6666 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.4316, allocations: 15.84 kB / 0.6666 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.4318, allocations: 152.6 kB / 0.6667 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.4318, allocations: 1.094 kB / 0.6667 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4319, allocations: 0 / 0.6667 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.4319, allocations: 0 / 0.6667 GB, free: 5.316 MB / 0.4981 GB 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.00034/0.4322, allocations: 374.8 kB / 0.6671 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.4323, allocations: 9.312 kB / 0.6671 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.081e-05/0.4323, allocations: 37.16 kB / 0.6671 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.4323, allocations: 2.219 kB / 0.6671 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.229e-05/0.4324, allocations: 174.7 kB / 0.6673 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.4324, allocations: 5.469 kB / 0.6673 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.4325, allocations: 7.188 kB / 0.6673 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.4326, allocations: 48.16 kB / 0.6673 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.4326, allocations: 5.422 kB / 0.6674 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.4326, allocations: 4 kB / 0.6674 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.4326, allocations: 1.281 kB / 0.6674 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.283e-05/0.4327, allocations: 19.61 kB / 0.6674 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.4328, allocations: 165.6 kB / 0.6675 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.553e-05/0.4329, allocations: 59.02 kB / 0.6676 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.433, allocations: 29.33 kB / 0.6676 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.433, allocations: 2.031 kB / 0.6676 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.433, allocations: 39.61 kB / 0.6677 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.433, allocations: 0 / 0.6677 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001042/0.4341, allocations: 0.5836 MB / 0.6682 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.4341, allocations: 56.97 kB / 0.6683 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.345e-05/0.4342, allocations: 96.02 kB / 0.6684 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.4342, allocations: 31.02 kB / 0.6684 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.615e-05/0.4342, allocations: 81.42 kB / 0.6685 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.4343, allocations: 39.36 kB / 0.6685 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.4343, allocations: 25.75 kB / 0.6685 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.385e-05/0.4344, allocations: 325.5 kB / 0.6689 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.776e-05/0.4344, allocations: 19.58 kB / 0.6689 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.453e-05/0.4344, allocations: 25.22 kB / 0.6689 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.431e-05/0.4345, allocations: 60.12 kB / 0.669 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.4345, allocations: 0 / 0.669 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001304/0.4347, allocations: 91.97 kB / 0.669 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4347, allocations: 4.812 kB / 0.669 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4347, allocations: 0 / 0.669 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.4347, allocations: 5.25 kB / 0.6691 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.4348, allocations: 21.55 kB / 0.6691 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4348, allocations: 1.406 kB / 0.6691 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.422e-05/0.4349, allocations: 7.938 kB / 0.6691 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.4349, allocations: 7.562 kB / 0.6691 GB, free: 2.957 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 5.648e-05/0.4349, allocations: 118.8 kB / 0.6692 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.435, allocations: 6.688 kB / 0.6692 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.4352, allocations: 112.2 kB / 0.6693 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.4352, allocations: 1.188 kB / 0.6693 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4352, allocations: 0 / 0.6693 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4352, allocations: 0.9688 kB / 0.6693 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.4355, allocations: 360 kB / 0.6697 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4355, allocations: 9.031 kB / 0.6697 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.4356, allocations: 21.2 kB / 0.6697 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4356, allocations: 1.656 kB / 0.6697 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.4357, allocations: 4 kB / 0.6697 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4357, allocations: 1.344 kB / 0.6697 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4357, allocations: 0 / 0.6697 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.4359, allocations: 214.1 kB / 0.6699 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.4359, allocations: 82.06 kB / 0.67 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.4359, allocations: 5.188 kB / 0.67 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.575e-05/0.436, allocations: 6.469 kB / 0.67 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.436, allocations: 19.5 kB / 0.67 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.4361, allocations: 6.5 kB / 0.67 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.996e-05/0.4361, allocations: 81.78 kB / 0.6701 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4361, allocations: 0 / 0.6701 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002779/0.4364, allocations: 36.03 kB / 0.6701 GB, free: 1.992 MB / 0.4981 GB 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.0004335/0.4368, allocations: 0.7745 MB / 0.6709 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.437, allocations: 68.19 kB / 0.6709 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.437, allocations: 0 / 0.6709 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.72e-05/0.437, allocations: 37.2 kB / 0.671 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.4373, allocations: 16.62 kB / 0.671 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.4385, allocations: 1.504 MB / 0.6725 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.4387, allocations: 0.6867 MB / 0.6731 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.383e-05/0.4388, allocations: 6.312 kB / 0.6731 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.4388, allocations: 20.61 kB / 0.6732 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of SimCode: time 1.403e-06/0.4388, allocations: 0 / 0.6732 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.4605, allocations: 2.081 MB / 0.6752 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/8.287, allocations: 8.109 kB / 0.6752 GB, free: 14.02 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)