Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_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.001443/0.001443, allocations: 108 kB / 15.6 MB, free: 132 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.00145/0.00145, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.415/1.415, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.734/2.734, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 65.11 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3371, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002706/0.3398, allocations: 1.479 MB / 1.07 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.3409, allocations: 0.6305 MB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.049e-05/0.3409, allocations: 0 / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.3409, allocations: 3.938 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.174e-05/0.341, allocations: 11.91 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005475/0.3416, allocations: 159.4 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.687e-05/0.3416, allocations: 47.91 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.369e-05/0.3417, allocations: 7.984 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.406e-05/0.3418, allocations: 15.94 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.124e-05/0.3418, allocations: 35.83 kB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.3418, allocations: 4 kB / 1.071 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004999/0.3423, allocations: 343.3 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.3424, allocations: 15.97 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.3424, allocations: 23.88 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.3427, allocations: 179.7 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3427, allocations: 4 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3427, allocations: 0 / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.3427, allocations: 0 / 1.071 GB, free: 7.449 MB / 0.8262 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.0006/0.3433, allocations: 397.2 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3434, allocations: 12.02 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.3434, allocations: 8.844 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.3435, allocations: 168.3 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.3436, allocations: 8.375 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.3436, allocations: 8.375 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.3438, allocations: 74.22 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3439, allocations: 192 / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.3439, allocations: 7.938 kB / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3439, allocations: 4 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.3441, allocations: 51.89 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005809/0.3447, allocations: 332.5 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.345, allocations: 78.53 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.3452, allocations: 32.98 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.3452, allocations: 7.984 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.3452, allocations: 34.5 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3452, allocations: 0 / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001669/0.3469, allocations: 0.6463 MB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.347, allocations: 59.28 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.498e-05/0.347, allocations: 101.8 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.3471, allocations: 29.7 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/0.3471, allocations: 88.03 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.3472, allocations: 43.45 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.3472, allocations: 29.72 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3473, allocations: 314.8 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.3475, allocations: 35.98 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.3476, allocations: 35.97 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.3479, allocations: 68.33 kB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3479, allocations: 3.938 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003273/0.3482, allocations: 121.6 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3482, allocations: 5.406 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3482, allocations: 0 / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.3483, allocations: 0 / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.3484, allocations: 23.98 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3484, allocations: 4 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.02e-05/0.3485, allocations: 11.92 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.3485, allocations: 4 kB / 1.074 GB, free: 4.336 MB / 0.8262 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 8.815e-05/0.3486, allocations: 121.8 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.3487, allocations: 4 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003805/0.3491, allocations: 129.6 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3491, allocations: 0 / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3491, allocations: 4 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3491, allocations: 3.938 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005719/0.3497, allocations: 382.5 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3497, allocations: 0 / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.3498, allocations: 27.98 kB / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3498, allocations: 7.938 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3499, allocations: 3.938 kB / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3499, allocations: 0 / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3499, allocations: 0 / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005147/0.3504, allocations: 259.6 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.3505, allocations: 85.05 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.3505, allocations: 7.922 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.3506, allocations: 8 kB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.3506, allocations: 7.984 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.3507, allocations: 4 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.548e-05/0.3507, allocations: 79.34 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.422e-06/0.3507, allocations: 4 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002808/0.351, allocations: 43.86 kB / 1.075 GB, free: 3.066 MB / 0.8262 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.000206/0.3512, allocations: 131.7 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003371/0.3515, allocations: 91.88 kB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3516, allocations: 0 / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.3517, allocations: 43.92 kB / 1.075 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.352, allocations: 16.31 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006792/0.3527, allocations: 325.4 kB / 1.075 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.353, allocations: 0.6924 MB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.639e-05/0.353, allocations: 4.672 kB / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.3531, allocations: 15.44 kB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.3531, allocations: 4 kB / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of Templates: time 0.003536/0.3566, allocations: 1.134 MB / 1.077 GB, free: 0.6055 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)