Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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/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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7237/0.7237, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 65.22 kB / 0.5018 GB, free: 3.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.408, allocations: 80.2 MB / 0.5801 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003111/0.4111, allocations: 1.453 MB / 0.5815 GB, free: 3.516 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.4122, allocations: 0.6389 MB / 0.5821 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.389e-05/0.4123, allocations: 1.062 kB / 0.5821 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.4123, allocations: 5.297 kB / 0.5821 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.99e-05/0.4124, allocations: 5.828 kB / 0.5821 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007509/0.4132, allocations: 164.5 kB / 0.5823 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.885e-05/0.4133, allocations: 56.64 kB / 0.5824 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.4133, allocations: 4.828 kB / 0.5824 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.193e-05/0.4134, allocations: 21.22 kB / 0.5824 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.198e-05/0.4134, allocations: 24.77 kB / 0.5824 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.4135, allocations: 4.062 kB / 0.5824 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006105/0.4141, allocations: 349.7 kB / 0.5827 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.4141, allocations: 13.12 kB / 0.5828 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.619e-05/0.4142, allocations: 29.56 kB / 0.5828 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.4145, allocations: 170.5 kB / 0.5829 GB, free: 2.754 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4145, allocations: 5 kB / 0.583 GB, free: 2.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4145, allocations: 0.75 kB / 0.583 GB, free: 2.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.4146, allocations: 0 / 0.583 GB, free: 2.75 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005693/0.4151, allocations: 399.5 kB / 0.5833 GB, free: 2.359 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.4152, allocations: 9.094 kB / 0.5833 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.4152, allocations: 13.58 kB / 0.5834 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.434e-05/0.4153, allocations: 167.1 kB / 0.5835 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.4153, allocations: 7.844 kB / 0.5835 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.4154, allocations: 13.09 kB / 0.5835 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.4157, allocations: 86.2 kB / 0.5836 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.4157, allocations: 8.734 kB / 0.5836 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.4157, allocations: 4.75 kB / 0.5836 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.4157, allocations: 2.234 kB / 0.5836 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.416, allocations: 50.95 kB / 0.5837 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005057/0.4165, allocations: 317.9 kB / 0.584 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.4168, allocations: 84.19 kB / 0.5841 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.417, allocations: 31.44 kB / 0.5841 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.417, allocations: 9.734 kB / 0.5841 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.417, allocations: 32.61 kB / 0.5841 GB, free: 1.668 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.417, allocations: 1.375 kB / 0.5841 GB, free: 1.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001533/0.4185, allocations: 0.6465 MB / 0.5848 GB, free: 1.141 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.95e-05/0.4186, allocations: 58.31 kB / 0.5848 GB, free: 1.074 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.064e-05/0.4186, allocations: 97.44 kB / 0.5849 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.4187, allocations: 35.05 kB / 0.585 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.668e-05/0.4187, allocations: 91.66 kB / 0.585 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.4187, allocations: 46.67 kB / 0.5851 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.4188, allocations: 32.27 kB / 0.5851 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.095e-05/0.4188, allocations: 315.5 kB / 0.5854 GB, free: 480 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.419, allocations: 32.28 kB / 0.5854 GB, free: 472 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.4191, allocations: 33.89 kB / 0.5855 GB, free: 464 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.4193, allocations: 66.44 kB / 0.5855 GB, free: 440 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.4193, allocations: 1.188 kB / 0.5855 GB, free: 440 kB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002996/0.4196, allocations: 122 kB / 0.5857 GB, free: 380 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.4197, allocations: 7.562 kB / 0.5857 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.4197, allocations: 0 / 0.5857 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.4197, allocations: 1.344 kB / 0.5857 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.4198, allocations: 33.58 kB / 0.5857 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.4199, allocations: 0.75 kB / 0.5857 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.496e-05/0.4199, allocations: 10.14 kB / 0.5857 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.4199, allocations: 2.422 kB / 0.5857 GB, free: 368 kB / 430.1 MB 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.494e-05/0.42, allocations: 123.4 kB / 0.5858 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.42, allocations: 7.438 kB / 0.5858 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003545/0.4204, allocations: 126.9 kB / 0.586 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4204, allocations: 6.547 kB / 0.586 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4204, allocations: 1 kB / 0.586 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4204, allocations: 0.6562 kB / 0.586 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005618/0.421, allocations: 379.3 kB / 0.5863 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.421, allocations: 0 / 0.5863 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.4212, allocations: 38.3 kB / 0.5864 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.4212, allocations: 8.734 kB / 0.5864 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.4212, allocations: 1.656 kB / 0.5864 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4212, allocations: 1.031 kB / 0.5864 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4212, allocations: 0 / 0.5864 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005097/0.4218, allocations: 256.1 kB / 0.5866 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.4218, allocations: 84.09 kB / 0.5867 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.4218, allocations: 1.953 kB / 0.5867 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.422, allocations: 9.812 kB / 0.5867 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/0.422, allocations: 10.62 kB / 0.5867 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.422, allocations: 3.781 kB / 0.5867 GB, free: 15.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.541e-05/0.422, allocations: 83.64 kB / 0.5868 GB, free: 15.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4221, allocations: 5.188 kB / 0.5868 GB, free: 15.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002926/0.4224, allocations: 34.89 kB / 0.5868 GB, free: 15.44 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0002227/0.4226, allocations: 134.4 kB / 0.587 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003351/0.4229, allocations: 85.06 kB / 0.5871 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4229, allocations: 1.062 kB / 0.5871 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.4231, allocations: 46.09 kB / 0.5871 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.4234, allocations: 21.27 kB / 0.5871 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006865/0.4241, allocations: 316.6 kB / 0.5874 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.4243, allocations: 0.6902 MB / 0.5881 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.003e-05/0.4244, allocations: 17.81 kB / 0.5881 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.4244, allocations: 14.67 kB / 0.5881 GB, free: 14.33 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4244, allocations: 4 kB / 0.5881 GB, free: 14.33 MB / 446.1 MB Notification: Performance of Templates: time 0.00437/0.4288, allocations: 1.12 MB / 0.5892 GB, free: 14.24 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)