Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.672/2.672, allocations: 287.5 MB / 302.4 MB, free: 8.406 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001554/0.001554, allocations: 177 kB / 371 MB, free: 10.78 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.091/2.091, allocations: 205.4 MB / 0.6297 GB, free: 10.47 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 86.88 kB / 0.743 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004785, allocations: 11.81 kB / 0.8658 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.202, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9804/1.182, allocations: 139.4 MB / 1.115 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/1.183, allocations: 83.17 kB / 1.115 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02004/1.203, allocations: 4.254 MB / 1.119 GB, free: 31.74 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.555e-06/1.203, allocations: 4 kB / 1.119 GB, free: 31.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.518e-06/1.203, allocations: 3.844 kB / 1.119 GB, free: 31.73 MB / 0.698 GB 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.0006063/1.204, allocations: 381.2 kB / 1.119 GB, free: 31.35 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.204, allocations: 15.61 kB / 1.119 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/1.204, allocations: 3.844 kB / 1.119 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/1.204, allocations: 174.6 kB / 1.119 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/1.204, allocations: 3.812 kB / 1.119 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/1.204, allocations: 11.78 kB / 1.119 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/1.204, allocations: 76.62 kB / 1.119 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/1.204, allocations: 5.453 kB / 1.119 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/1.204, allocations: 3.5 kB / 1.119 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/1.204, allocations: 0 / 1.119 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/1.205, allocations: 59.59 kB / 1.119 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007014/1.205, allocations: 328.1 kB / 1.12 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/1.206, allocations: 96.03 kB / 1.12 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/1.206, allocations: 3.938 kB / 1.12 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/1.206, allocations: 34.31 kB / 1.12 GB, free: 30.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/1.206, allocations: 0 / 1.12 GB, free: 30.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.002361/1.208, allocations: 0.6752 MB / 1.121 GB, free: 30.28 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/1.208, allocations: 55.22 kB / 1.121 GB, free: 30.22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.827e-05/1.209, allocations: 95.73 kB / 1.121 GB, free: 30.13 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/1.209, allocations: 33.58 kB / 1.121 GB, free: 30.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/1.209, allocations: 84.05 kB / 1.121 GB, free: 30.01 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/1.209, allocations: 42.47 kB / 1.121 GB, free: 29.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/1.209, allocations: 0 / 1.121 GB, free: 29.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.209, allocations: 317.9 kB / 1.121 GB, free: 29.67 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/1.209, allocations: 32.59 kB / 1.121 GB, free: 29.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/1.209, allocations: 36.38 kB / 1.121 GB, free: 29.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/1.209, allocations: 39.77 kB / 1.121 GB, free: 29.67 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/1.209, allocations: 3.938 kB / 1.121 GB, free: 29.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005072/1.21, allocations: 128 kB / 1.121 GB, free: 29.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/1.21, allocations: 7.656 kB / 1.121 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.21, allocations: 3.953 kB / 1.121 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/1.21, allocations: 0 / 1.121 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/1.21, allocations: 36.88 kB / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/1.21, allocations: 3.844 kB / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/1.21, allocations: 3.531 kB / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/1.211, allocations: 10.89 kB / 1.121 GB, free: 29.61 MB / 0.698 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001048/1.211, allocations: 121.4 kB / 1.122 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/1.211, allocations: 7.75 kB / 1.122 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005658/1.211, allocations: 127.9 kB / 1.122 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/1.211, allocations: 7.797 kB / 1.122 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.211, allocations: 0 / 1.122 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.211, allocations: 4 kB / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008067/1.212, allocations: 394.1 kB / 1.122 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.212, allocations: 0 / 1.122 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/1.212, allocations: 26.25 kB / 1.122 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/1.212, allocations: 3.953 kB / 1.122 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/1.212, allocations: 14.27 kB / 1.122 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/1.212, allocations: 0 / 1.122 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.212, allocations: 0 / 1.122 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007747/1.213, allocations: 263.2 kB / 1.122 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/1.213, allocations: 84.83 kB / 1.122 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/1.213, allocations: 3.953 kB / 1.122 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/1.214, allocations: 14.27 kB / 1.122 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/1.214, allocations: 6.562 kB / 1.122 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/1.214, allocations: 7.594 kB / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.482e-05/1.214, allocations: 79.41 kB / 1.123 GB, free: 28.81 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.214, allocations: 64 / 1.123 GB, free: 28.81 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003918/1.214, allocations: 49.89 kB / 1.123 GB, free: 28.8 MB / 0.698 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002625/1.214, allocations: 139.3 kB / 1.123 GB, free: 28.69 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005315/1.215, allocations: 96.94 kB / 1.123 GB, free: 28.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.215, allocations: 0 / 1.123 GB, free: 28.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002313/1.215, allocations: 52.72 kB / 1.123 GB, free: 28.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/1.215, allocations: 8.031 kB / 1.123 GB, free: 28.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000861/1.216, allocations: 372.9 kB / 1.123 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/1.217, allocations: 0.6962 MB / 1.124 GB, free: 27.72 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.766e-05/1.217, allocations: 11.64 kB / 1.124 GB, free: 27.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/1.217, allocations: 18.97 kB / 1.124 GB, free: 27.71 MB / 0.698 GB Notification: Performance of SimCode: time 8.81e-07/1.217, allocations: 0 / 1.124 GB, free: 27.71 MB / 0.698 GB Notification: Performance of Templates: time 0.00438/1.221, allocations: 1.019 MB / 1.125 GB, free: 27.63 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)