Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008819/0.008819, allocations: 97.33 kB / 15.73 MB, free: 5.527 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.001761/0.001761, allocations: 187 kB / 16.67 MB, free: 5.465 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7668/0.7668, allocations: 132.2 MB / 422.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001315, allocations: 59.91 kB / 0.5813 GB, free: 7.551 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3826, allocations: 80.22 MB / 0.6597 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002204/0.3848, allocations: 1.264 MB / 0.6609 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009424/0.3858, allocations: 0.6228 MB / 0.6615 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.3858, allocations: 0 / 0.6615 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.3859, allocations: 4.75 kB / 0.6615 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.648e-05/0.3859, allocations: 5.906 kB / 0.6615 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005082/0.3864, allocations: 141.4 kB / 0.6617 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.655e-05/0.3865, allocations: 23.64 kB / 0.6617 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.3866, allocations: 2.969 kB / 0.6617 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.736e-05/0.3866, allocations: 8.734 kB / 0.6617 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.3867, allocations: 10.5 kB / 0.6617 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.3867, allocations: 0 / 0.6617 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005471/0.3873, allocations: 353.7 kB / 0.662 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.3873, allocations: 1.859 kB / 0.662 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.3873, allocations: 8.984 kB / 0.6621 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.3876, allocations: 147.3 kB / 0.6622 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3876, allocations: 0 / 0.6622 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.836e-06/0.3876, allocations: 1.5 kB / 0.6622 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3876, allocations: 0 / 0.6622 GB, free: 8.738 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.0003532/0.3879, allocations: 369.9 kB / 0.6626 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.388, allocations: 10.28 kB / 0.6626 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.388, allocations: 2 kB / 0.6626 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.994e-05/0.3881, allocations: 169.8 kB / 0.6627 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3881, allocations: 1.625 kB / 0.6627 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.3882, allocations: 1.781 kB / 0.6627 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.834e-05/0.3882, allocations: 44.42 kB / 0.6628 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.3883, allocations: 7.984 kB / 0.6628 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3883, allocations: 1.031 kB / 0.6628 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3883, allocations: 0 / 0.6628 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.887e-05/0.3883, allocations: 9.938 kB / 0.6628 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.3885, allocations: 155.3 kB / 0.6629 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.3887, allocations: 43.64 kB / 0.663 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.393e-05/0.3887, allocations: 25.06 kB / 0.663 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.3887, allocations: 3.938 kB / 0.663 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.3888, allocations: 36.03 kB / 0.663 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3888, allocations: 0 / 0.663 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005604/0.3893, allocations: 316.3 kB / 0.6633 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.3894, allocations: 51.41 kB / 0.6634 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.353e-05/0.3894, allocations: 101.9 kB / 0.6635 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.3894, allocations: 27.42 kB / 0.6635 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.642e-05/0.3894, allocations: 80.14 kB / 0.6636 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.3895, allocations: 26.42 kB / 0.6636 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.3895, allocations: 22.3 kB / 0.6636 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.58e-05/0.3896, allocations: 311.9 kB / 0.6639 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.458e-05/0.3896, allocations: 14.84 kB / 0.6639 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.084e-05/0.3896, allocations: 14.7 kB / 0.664 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.608e-05/0.3897, allocations: 35.88 kB / 0.664 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3897, allocations: 0 / 0.664 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.613e-05/0.3898, allocations: 68.91 kB / 0.6641 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3898, allocations: 5.062 kB / 0.6641 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3898, allocations: 1.312 kB / 0.6641 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3898, allocations: 0 / 0.6641 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.908e-05/0.3899, allocations: 13.59 kB / 0.6641 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3899, allocations: 1.688 kB / 0.6641 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.3899, allocations: 4 kB / 0.6641 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.3899, allocations: 5.391 kB / 0.6641 GB, free: 6.742 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 4.916e-05/0.39, allocations: 120.6 kB / 0.6642 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.39, allocations: 6.234 kB / 0.6642 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.3901, allocations: 66.5 kB / 0.6643 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.3901, allocations: 1.062 kB / 0.6643 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.3901, allocations: 0 / 0.6643 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3901, allocations: 4.109 kB / 0.6643 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.3904, allocations: 325 kB / 0.6646 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3904, allocations: 0 / 0.6646 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-05/0.3905, allocations: 9.875 kB / 0.6646 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3905, allocations: 1.125 kB / 0.6646 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.3905, allocations: 1.094 kB / 0.6646 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3905, allocations: 1.062 kB / 0.6646 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3905, allocations: 1.531 kB / 0.6646 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.3907, allocations: 185 kB / 0.6648 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.783e-05/0.3907, allocations: 87.83 kB / 0.6649 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.3907, allocations: 1.406 kB / 0.6649 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.3908, allocations: 5.844 kB / 0.6649 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.3908, allocations: 1.281 kB / 0.6649 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.3908, allocations: 2.781 kB / 0.6649 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.12e-05/0.3909, allocations: 85.58 kB / 0.665 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3909, allocations: 0 / 0.665 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002364/0.3911, allocations: 27.16 kB / 0.665 GB, free: 5.828 MB / 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.0001574/0.3913, allocations: 119.2 kB / 0.6651 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.3914, allocations: 35.8 kB / 0.6651 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3914, allocations: 1.531 kB / 0.6651 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.46e-05/0.3914, allocations: 19.03 kB / 0.6652 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.3916, allocations: 10.47 kB / 0.6652 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.392, allocations: 196.1 kB / 0.6653 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.162e-05/0.3921, allocations: 0.6803 MB / 0.666 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.828e-05/0.3921, allocations: 12.06 kB / 0.666 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.3921, allocations: 14.69 kB / 0.666 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.3921, allocations: 0 / 0.666 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of Templates: time 0.002511/0.3946, allocations: 0.6586 MB / 0.6667 GB, free: 4.484 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)