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.008341/0.008341, allocations: 102 kB / 15.73 MB, free: 6.051 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.001629/0.001629, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7634/0.7634, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 64.81 kB / 0.5851 GB, free: 21.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1481, allocations: 80.92 MB / 0.6642 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002653/0.1508, allocations: 1.275 MB / 0.6654 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1518, allocations: 0.6037 MB / 0.666 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.878e-05/0.1519, allocations: 0 / 0.666 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.013e-05/0.1519, allocations: 7.922 kB / 0.666 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.552e-05/0.152, allocations: 7.984 kB / 0.666 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006209/0.1526, allocations: 149.8 kB / 0.6661 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.64e-05/0.1527, allocations: 19.92 kB / 0.6662 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.1527, allocations: 0 / 0.6662 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.941e-05/0.1528, allocations: 19.86 kB / 0.6662 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.138e-05/0.1528, allocations: 7.984 kB / 0.6662 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.1529, allocations: 4 kB / 0.6662 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005273/0.1534, allocations: 327.4 kB / 0.6665 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.14e-05/0.1534, allocations: 19.91 kB / 0.6665 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.1535, allocations: 4 kB / 0.6665 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.1538, allocations: 147.1 kB / 0.6667 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1538, allocations: 0 / 0.6667 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1538, allocations: 0 / 0.6667 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.1538, allocations: 0 / 0.6667 GB, free: 3.676 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004841/0.1543, allocations: 359.7 kB / 0.667 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.1543, allocations: 9.109 kB / 0.667 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.042e-05/0.1544, allocations: 34.75 kB / 0.6671 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.1544, allocations: 8.875 kB / 0.6671 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.1546, allocations: 168.3 kB / 0.6672 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1546, allocations: 8.297 kB / 0.6672 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.1546, allocations: 8.125 kB / 0.6672 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.1548, allocations: 33.7 kB / 0.6673 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1548, allocations: 7.938 kB / 0.6673 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1548, allocations: 3.984 kB / 0.6673 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1548, allocations: 0 / 0.6673 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.399e-05/0.1549, allocations: 8 kB / 0.6673 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.1551, allocations: 157.7 kB / 0.6674 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.1553, allocations: 50.55 kB / 0.6675 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.64e-05/0.1553, allocations: 16.89 kB / 0.6675 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.1554, allocations: 11.97 kB / 0.6675 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.1554, allocations: 30.56 kB / 0.6675 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1554, allocations: 0 / 0.6675 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006924/0.1561, allocations: 310.5 kB / 0.6678 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.1561, allocations: 51.41 kB / 0.6679 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.976e-05/0.1562, allocations: 101.8 kB / 0.668 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.1562, allocations: 25.7 kB / 0.668 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/0.1563, allocations: 84.08 kB / 0.6681 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.1563, allocations: 23.66 kB / 0.6681 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.1564, allocations: 21.7 kB / 0.6681 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1565, allocations: 318.8 kB / 0.6684 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.585e-05/0.1565, allocations: 8 kB / 0.6684 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.528e-05/0.1565, allocations: 15.98 kB / 0.6685 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.264e-05/0.1566, allocations: 37 kB / 0.6685 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1566, allocations: 3.938 kB / 0.6685 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001043/0.1567, allocations: 61.67 kB / 0.6686 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1568, allocations: 8 kB / 0.6686 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1568, allocations: 0 / 0.6686 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1568, allocations: 0 / 0.6686 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.493e-05/0.1569, allocations: 16 kB / 0.6686 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1569, allocations: 4 kB / 0.6686 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.878e-05/0.1569, allocations: 4 kB / 0.6686 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.1569, allocations: 4 kB / 0.6686 GB, free: 1.426 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 8.593e-05/0.157, allocations: 119.1 kB / 0.6687 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.157, allocations: 3.906 kB / 0.6687 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.1572, allocations: 69.66 kB / 0.6688 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1572, allocations: 7.938 kB / 0.6688 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1572, allocations: 3.938 kB / 0.6688 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1572, allocations: 3.984 kB / 0.6688 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.1575, allocations: 311.4 kB / 0.6691 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1576, allocations: 0 / 0.6691 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/0.1576, allocations: 15.94 kB / 0.6691 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1576, allocations: 0 / 0.6691 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1576, allocations: 0 / 0.6691 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1577, allocations: 0 / 0.6691 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1577, allocations: 7.938 kB / 0.6691 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.1579, allocations: 184.4 kB / 0.6693 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.1579, allocations: 89.03 kB / 0.6694 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.1579, allocations: 0 / 0.6694 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.158, allocations: 4 kB / 0.6694 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.158, allocations: 4 kB / 0.6694 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.1581, allocations: 4.125 kB / 0.6694 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.409e-05/0.1581, allocations: 87.2 kB / 0.6695 GB, free: 428 kB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.1581, allocations: 0 / 0.6695 GB, free: 428 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002401/0.1584, allocations: 24.06 kB / 0.6695 GB, free: 404 kB / 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.0005868/0.1589, allocations: 0.7212 MB / 0.6702 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.1591, allocations: 35.94 kB / 0.6702 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.1591, allocations: 64 / 0.6702 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.217e-05/0.1591, allocations: 23.98 kB / 0.6703 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.1594, allocations: 5.625 kB / 0.6703 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.1607, allocations: 1.327 MB / 0.6716 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.161, allocations: 0.6807 MB / 0.6722 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.412e-05/0.161, allocations: 8.297 kB / 0.6722 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.1611, allocations: 15.44 kB / 0.6722 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1611, allocations: 0 / 0.6722 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.1795, allocations: 1.604 MB / 0.6738 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.357/7.537, allocations: 12.69 kB / 0.6738 GB, free: 11.97 MB / 0.5137 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)