Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_10_Buildings.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.00137/0.00137, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001361/0.001362, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.475/2.475, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 72.09 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.827/0.8282, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002562/0.8308, allocations: 1.483 MB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.8319, allocations: 0.6306 MB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.502e-05/0.832, allocations: 0 / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.832, allocations: 3.938 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.144e-05/0.8321, allocations: 11.88 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.8327, allocations: 168.2 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.721e-05/0.8328, allocations: 47.84 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.8328, allocations: 4 kB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.505e-05/0.8329, allocations: 23.91 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.518e-05/0.8329, allocations: 27.91 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.833, allocations: 4 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004755/0.8334, allocations: 351.3 kB / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.8335, allocations: 7.938 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.8335, allocations: 35.84 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.8338, allocations: 169.2 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.8338, allocations: 0 / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8338, allocations: 0 / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.8338, allocations: 4 kB / 1.17 GB, free: 0.8672 MB / 0.8887 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.0005741/0.8344, allocations: 395.3 kB / 1.171 GB, free: 440 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.8344, allocations: 16.88 kB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.8345, allocations: 12.84 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.8346, allocations: 184.2 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.8346, allocations: 4.375 kB / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.8347, allocations: 8.375 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.8349, allocations: 79.45 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.8349, allocations: 192 / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.8349, allocations: 11.94 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.8349, allocations: 0 / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.8352, allocations: 47.95 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.8357, allocations: 320.6 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.836, allocations: 78.53 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.8361, allocations: 28.84 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.8361, allocations: 4 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.8362, allocations: 38.5 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.8362, allocations: 3.938 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.001647/0.8378, allocations: 0.6385 MB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.8379, allocations: 59.39 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.832e-05/0.8379, allocations: 101.8 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.838, allocations: 29.7 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.838, allocations: 95.97 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.8381, allocations: 35.45 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.8381, allocations: 37.64 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.882e-05/0.8382, allocations: 318.8 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.8383, allocations: 31.98 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.8385, allocations: 37.59 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.8387, allocations: 72.83 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.8387, allocations: 0 / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002899/0.839, allocations: 122.5 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.839, allocations: 4 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.839, allocations: 0 / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.8391, allocations: 4 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.8392, allocations: 23.98 kB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.8392, allocations: 0 / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.098e-05/0.8393, allocations: 15.92 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.8393, allocations: 0 / 1.173 GB, free: 13.74 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.919e-05/0.8394, allocations: 121.8 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.8394, allocations: 4 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.8398, allocations: 129.4 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.8398, allocations: 4 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.8398, allocations: 0 / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.8398, allocations: 4.031 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005411/0.8403, allocations: 386.6 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.8404, allocations: 192 / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.8405, allocations: 27.97 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.8405, allocations: 0 / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.8405, allocations: 11.92 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.8405, allocations: 8 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.8405, allocations: 0 / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004536/0.841, allocations: 251.4 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.8411, allocations: 81.02 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.8411, allocations: 7.969 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.8412, allocations: 7.984 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.8412, allocations: 8 kB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.8413, allocations: 3.984 kB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.384e-05/0.8413, allocations: 79.28 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8413, allocations: 0 / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000273/0.8416, allocations: 48 kB / 1.174 GB, free: 12.47 MB / 0.9044 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 (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.0002105/0.8418, allocations: 131.2 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003015/0.8421, allocations: 88.33 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8421, allocations: 0 / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.8423, allocations: 47.91 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.8425, allocations: 7.359 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006438/0.8432, allocations: 347.3 kB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.8435, allocations: 0.6962 MB / 1.175 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.8435, allocations: 27.42 kB / 1.175 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.8435, allocations: 0 / 1.175 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of Templates: time 0.002886/0.8464, allocations: 1.311 MB / 1.177 GB, free: 9.781 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)