Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_dp_DerivativeCheck,fileNamePrefix="IDEAS_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_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.004814/0.004814, allocations: 101 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.001174/0.001174, allocations: 193.1 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7555/0.7555, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 71.34 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1619, allocations: 80.22 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002495/0.1644, allocations: 1.247 MB / 0.6604 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1655, allocations: 0.6252 MB / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.1655, allocations: 4 kB / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.1656, allocations: 0 / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.172e-05/0.1656, allocations: 3.938 kB / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006335/0.1663, allocations: 145.5 kB / 0.6612 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.911e-05/0.1664, allocations: 19.92 kB / 0.6612 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.1664, allocations: 4 kB / 0.6612 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.976e-05/0.1665, allocations: 7.938 kB / 0.6612 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.599e-05/0.1665, allocations: 11.97 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.1665, allocations: 4 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004961/0.167, allocations: 343.3 kB / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.1671, allocations: 4 kB / 0.6616 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.1671, allocations: 11.92 kB / 0.6616 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.1674, allocations: 147.1 kB / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1674, allocations: 0 / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1674, allocations: 0 / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.1674, allocations: 0 / 0.6617 GB, free: 11.43 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.0004755/0.1679, allocations: 355.7 kB / 0.662 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1679, allocations: 12.03 kB / 0.6621 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.168, allocations: 42.73 kB / 0.6621 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.168, allocations: 4.844 kB / 0.6621 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.1682, allocations: 168.4 kB / 0.6623 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1682, allocations: 384 / 0.6623 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.1682, allocations: 4.125 kB / 0.6623 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.1683, allocations: 45.62 kB / 0.6623 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.1683, allocations: 0 / 0.6623 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1683, allocations: 0 / 0.6623 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1684, allocations: 0 / 0.6623 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.571e-05/0.1684, allocations: 15.94 kB / 0.6623 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.1686, allocations: 157.7 kB / 0.6625 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.1688, allocations: 46.59 kB / 0.6625 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.1688, allocations: 16.8 kB / 0.6625 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.1689, allocations: 4 kB / 0.6625 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.1689, allocations: 34.56 kB / 0.6626 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 2.525e-06/0.1689, allocations: 7.984 kB / 0.6626 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006792/0.1696, allocations: 314.2 kB / 0.6629 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.1696, allocations: 51.41 kB / 0.6629 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.296e-05/0.1697, allocations: 97.86 kB / 0.663 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.1697, allocations: 29.7 kB / 0.663 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/0.1698, allocations: 80.14 kB / 0.6631 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.1698, allocations: 23.64 kB / 0.6631 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.1699, allocations: 25.72 kB / 0.6632 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.17, allocations: 318.8 kB / 0.6635 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.851e-05/0.17, allocations: 11.98 kB / 0.6635 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.115e-05/0.17, allocations: 8 kB / 0.6635 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.685e-05/0.1701, allocations: 32.86 kB / 0.6635 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1701, allocations: 3.938 kB / 0.6635 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001017/0.1702, allocations: 65.62 kB / 0.6636 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1703, allocations: 4 kB / 0.6636 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1703, allocations: 0 / 0.6636 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1703, allocations: 8 kB / 0.6636 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.296e-05/0.1703, allocations: 11.98 kB / 0.6636 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1704, allocations: 0 / 0.6636 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.767e-05/0.1704, allocations: 0 / 0.6636 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1704, allocations: 8 kB / 0.6636 GB, free: 9.188 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 7.382e-05/0.1705, allocations: 109.8 kB / 0.6637 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.1705, allocations: 7.906 kB / 0.6637 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.1707, allocations: 81.88 kB / 0.6638 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1707, allocations: 0 / 0.6638 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1707, allocations: 4 kB / 0.6638 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1707, allocations: 3.938 kB / 0.6638 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.171, allocations: 319.3 kB / 0.6641 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.171, allocations: 0 / 0.6641 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.227e-05/0.1711, allocations: 11.98 kB / 0.6641 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1711, allocations: 0 / 0.6641 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.1711, allocations: 4 kB / 0.6641 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1711, allocations: 3.984 kB / 0.6641 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1711, allocations: 0 / 0.6641 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.1713, allocations: 188.3 kB / 0.6643 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.1714, allocations: 85 kB / 0.6644 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.1714, allocations: 0 / 0.6644 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.1715, allocations: 8 kB / 0.6644 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.1715, allocations: 3.984 kB / 0.6644 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.1715, allocations: 7.938 kB / 0.6644 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.474e-05/0.1716, allocations: 83.34 kB / 0.6645 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1716, allocations: 0 / 0.6645 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002397/0.1718, allocations: 16 kB / 0.6645 GB, free: 8.145 MB / 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.0005198/0.1724, allocations: 0.725 MB / 0.6652 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.1725, allocations: 36.05 kB / 0.6653 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1725, allocations: 0 / 0.6653 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.955e-05/0.1725, allocations: 20.19 kB / 0.6653 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.1728, allocations: 9 kB / 0.6653 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.1742, allocations: 1.331 MB / 0.6666 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.1744, allocations: 0.6845 MB / 0.6673 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.1745, allocations: 0 / 0.6673 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.1745, allocations: 19.42 kB / 0.6673 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1745, allocations: 0 / 0.6673 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.1936, allocations: 1.596 MB / 0.6688 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.359/7.553, allocations: 17.62 kB / 0.6688 GB, free: 3.754 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)