Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.675/1.675, allocations: 285.4 MB / 298 MB, free: 5.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000987/0.000987, allocations: 180.8 kB / 366.4 MB, free: 2.117 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 205.1 MB / 0.6248 GB, free: 7.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007818/0.0007817, allocations: 90.2 kB / 0.738 GB, free: 40.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.715e-05/3.719e-05, allocations: 4 kB / 0.8583 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5738/0.5738, allocations: 115.3 MB / 0.9709 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1675/0.7413, allocations: 139.5 MB / 1.107 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.7416, allocations: 84.45 kB / 1.107 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01271/0.7543, allocations: 4.261 MB / 1.111 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.426e-06/0.7544, allocations: 6.391 kB / 1.111 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.7544, allocations: 0 / 1.111 GB, free: 8.074 MB / 0.7136 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.0004264/0.7548, allocations: 377.3 kB / 1.112 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.7549, allocations: 12.03 kB / 1.112 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.7549, allocations: 4.75 kB / 1.112 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.7551, allocations: 167 kB / 1.112 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.7551, allocations: 10.34 kB / 1.112 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.7551, allocations: 7.906 kB / 1.112 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.7553, allocations: 65.69 kB / 1.112 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.7553, allocations: 0 / 1.112 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.7553, allocations: 4 kB / 1.112 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.7553, allocations: 0 / 1.112 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.694e-05/0.7554, allocations: 36.64 kB / 1.112 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.756, allocations: 337.2 kB / 1.112 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.7561, allocations: 70.5 kB / 1.112 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.269e-05/0.7561, allocations: 17.39 kB / 1.112 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.7562, allocations: 0 / 1.112 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.7562, allocations: 37.16 kB / 1.112 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.7562, allocations: 0 / 1.112 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0009829/0.7572, allocations: 0.5715 MB / 1.113 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.7573, allocations: 55.41 kB / 1.113 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.134e-05/0.7573, allocations: 101 kB / 1.113 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.7573, allocations: 27.2 kB / 1.113 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.7574, allocations: 88.12 kB / 1.113 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.7574, allocations: 35.47 kB / 1.113 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.7574, allocations: 0 / 1.113 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.638e-05/0.7575, allocations: 322.8 kB / 1.114 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.7576, allocations: 24 kB / 1.114 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.86e-05/0.7576, allocations: 26.62 kB / 1.114 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.781e-05/0.7577, allocations: 23.98 kB / 1.114 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.7577, allocations: 3.938 kB / 1.114 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001514/0.7579, allocations: 101.7 kB / 1.114 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.7579, allocations: 4 kB / 1.114 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.7579, allocations: 0 / 1.114 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.7579, allocations: 7.953 kB / 1.114 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.7581, allocations: 23.98 kB / 1.114 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.7581, allocations: 2.188 kB / 1.114 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.896e-05/0.7581, allocations: 12 kB / 1.114 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.7582, allocations: 9.672 kB / 1.114 GB, free: 5.266 MB / 0.7136 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 () * 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 6.699e-05/0.7582, allocations: 112.9 kB / 1.114 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.7583, allocations: 7.906 kB / 1.114 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.7585, allocations: 107.1 kB / 1.114 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.7585, allocations: 3.953 kB / 1.114 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.7585, allocations: 0 / 1.114 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.7585, allocations: 0 / 1.114 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003613/0.7589, allocations: 366.5 kB / 1.114 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.7589, allocations: 0 / 1.114 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.759, allocations: 27.98 kB / 1.114 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.7591, allocations: 7.953 kB / 1.114 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.7591, allocations: 0 / 1.114 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7591, allocations: 3.938 kB / 1.114 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7591, allocations: 0 / 1.114 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.7593, allocations: 229.3 kB / 1.115 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.7594, allocations: 85.05 kB / 1.115 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.7594, allocations: 3.953 kB / 1.115 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.7595, allocations: 12 kB / 1.115 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.926e-05/0.7596, allocations: 5.859 kB / 1.115 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.7596, allocations: 6.812 kB / 1.115 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.379e-05/0.7596, allocations: 83.28 kB / 1.115 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7596, allocations: 64 / 1.115 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002587/0.7599, allocations: 51.92 kB / 1.115 GB, free: 4.07 MB / 0.7136 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 () * 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.0002094/0.7601, allocations: 143 kB / 1.115 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.7603, allocations: 60 kB / 1.115 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7603, allocations: 0 / 1.115 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.609e-05/0.7603, allocations: 39.92 kB / 1.115 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.7605, allocations: 8 kB / 1.115 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/0.7611, allocations: 243.7 kB / 1.115 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.7614, allocations: 0.6926 MB / 1.116 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.177e-05/0.7615, allocations: 19.38 kB / 1.116 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.7615, allocations: 11.44 kB / 1.116 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.7615, allocations: 0 / 1.116 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of Templates: time 0.003692/0.7652, allocations: 1.041 MB / 1.117 GB, free: 1.836 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)