Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.006891/0.006891, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001531/0.001531, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7846/0.7846, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 66.58 kB / 0.5851 GB, free: 22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1591, allocations: 80.92 MB / 0.6642 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.003435/0.1626, allocations: 1.275 MB / 0.6654 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.1642, allocations: 0.6152 MB / 0.666 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.1642, allocations: 0 / 0.666 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.691e-05/0.1643, allocations: 3.938 kB / 0.666 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.468e-05/0.1643, allocations: 3.984 kB / 0.666 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008218/0.1652, allocations: 151.4 kB / 0.6662 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.121e-05/0.1653, allocations: 15.92 kB / 0.6662 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.709e-05/0.1653, allocations: 7.984 kB / 0.6662 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.691e-05/0.1654, allocations: 15.88 kB / 0.6662 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.793e-05/0.1655, allocations: 0 / 0.6662 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.1655, allocations: 4 kB / 0.6662 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007287/0.1662, allocations: 339.4 kB / 0.6665 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.1663, allocations: 8 kB / 0.6665 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.1663, allocations: 11.92 kB / 0.6665 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.1667, allocations: 147.1 kB / 0.6667 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1667, allocations: 4 kB / 0.6667 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1667, allocations: 0 / 0.6667 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.1667, allocations: 0 / 0.6667 GB, free: 3.715 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.0005901/0.1673, allocations: 359.7 kB / 0.667 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.1673, allocations: 9.109 kB / 0.667 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.1674, allocations: 38.75 kB / 0.6671 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.1674, allocations: 4.875 kB / 0.6671 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.1676, allocations: 164.3 kB / 0.6672 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1676, allocations: 8.359 kB / 0.6672 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.1676, allocations: 12.06 kB / 0.6673 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.1678, allocations: 41.69 kB / 0.6673 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1678, allocations: 0 / 0.6673 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1678, allocations: 0 / 0.6673 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1678, allocations: 0 / 0.6673 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.977e-05/0.1679, allocations: 15.98 kB / 0.6673 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.1681, allocations: 153.7 kB / 0.6675 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.1683, allocations: 46.5 kB / 0.6675 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.1684, allocations: 20.8 kB / 0.6675 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.1684, allocations: 0 / 0.6675 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.1684, allocations: 42.64 kB / 0.6676 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.1684, allocations: 0 / 0.6676 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0007436/0.1692, allocations: 302.2 kB / 0.6678 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.1692, allocations: 51.41 kB / 0.6679 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.244e-05/0.1693, allocations: 101.9 kB / 0.668 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.1694, allocations: 25.7 kB / 0.668 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.1694, allocations: 88.06 kB / 0.6681 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.1695, allocations: 23.66 kB / 0.6681 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.1695, allocations: 17.72 kB / 0.6681 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1697, allocations: 318.8 kB / 0.6684 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.731e-05/0.1697, allocations: 12.06 kB / 0.6685 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.02e-05/0.1697, allocations: 12 kB / 0.6685 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.409e-05/0.1698, allocations: 44.97 kB / 0.6685 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1698, allocations: 3.938 kB / 0.6685 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001343/0.17, allocations: 65.69 kB / 0.6686 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.17, allocations: 4 kB / 0.6686 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.17, allocations: 0 / 0.6686 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.17, allocations: 0 / 0.6686 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.596e-05/0.1701, allocations: 15.94 kB / 0.6686 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.1701, allocations: 0 / 0.6686 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.325e-05/0.1702, allocations: 0 / 0.6686 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.1702, allocations: 0.5156 kB / 0.6686 GB, free: 1.477 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 0.0001058/0.1703, allocations: 123.1 kB / 0.6687 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.1703, allocations: 7.891 kB / 0.6687 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.1705, allocations: 69.66 kB / 0.6688 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.1705, allocations: 0 / 0.6688 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1705, allocations: 7.875 kB / 0.6688 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.1705, allocations: 3.984 kB / 0.6688 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004737/0.171, allocations: 311.4 kB / 0.6691 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.171, allocations: 4.031 kB / 0.6691 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.814e-05/0.1711, allocations: 19.94 kB / 0.6691 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1712, allocations: 0 / 0.6691 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.1712, allocations: 0 / 0.6691 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.1712, allocations: 4 kB / 0.6691 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1712, allocations: 0 / 0.6691 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.1714, allocations: 180.5 kB / 0.6693 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.438e-05/0.1715, allocations: 93.11 kB / 0.6694 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.1716, allocations: 0 / 0.6694 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.959e-05/0.1717, allocations: 3.984 kB / 0.6694 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.1717, allocations: 8 kB / 0.6694 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.1717, allocations: 7.938 kB / 0.6694 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.549e-05/0.1718, allocations: 79.22 kB / 0.6695 GB, free: 472 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1718, allocations: 0 / 0.6695 GB, free: 472 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004097/0.1722, allocations: 19.98 kB / 0.6695 GB, free: 452 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0006646/0.1729, allocations: 0.7328 MB / 0.6702 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.173, allocations: 35.92 kB / 0.6702 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1731, allocations: 0 / 0.6702 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.79e-05/0.1731, allocations: 19.98 kB / 0.6703 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.1735, allocations: 5.812 kB / 0.6703 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.1754, allocations: 1.33 MB / 0.6716 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/0.1759, allocations: 0.6807 MB / 0.6722 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.559e-05/0.176, allocations: 8.297 kB / 0.6722 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.176, allocations: 11.44 kB / 0.6723 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of SimCode: time 1.001e-06/0.176, allocations: 0 / 0.6723 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.2041, allocations: 1.62 MB / 0.6738 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.569/7.773, allocations: 15.5 kB / 0.6739 GB, free: 12.02 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)