Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8451/0.8451, allocations: 128.7 MB / 143.7 MB, free: 2.324 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 189.5 kB / 173.8 MB, free: 6.109 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 88 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.0003008, allocations: 12.22 kB / 0.5604 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1312, allocations: 76.76 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1226/0.2539, allocations: 103.3 MB / 0.7362 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/0.2541, allocations: 79.95 kB / 0.7363 GB, free: 7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.008873/0.263, allocations: 3.022 MB / 0.7393 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.754e-06/0.263, allocations: 3.938 kB / 0.7393 GB, free: 3.969 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.263, allocations: 0 / 0.7393 GB, free: 3.969 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003282/0.2634, allocations: 339.3 kB / 0.7396 GB, free: 3.59 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2634, allocations: 8.031 kB / 0.7396 GB, free: 3.582 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.2635, allocations: 7.953 kB / 0.7396 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.2636, allocations: 163 kB / 0.7398 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.2636, allocations: 7.984 kB / 0.7398 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.2636, allocations: 4 kB / 0.7398 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.264, allocations: 69.66 kB / 0.7398 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.2641, allocations: 0 / 0.7398 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.2641, allocations: 3.938 kB / 0.7398 GB, free: 3.285 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2641, allocations: 3.953 kB / 0.7398 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002489/0.2643, allocations: 43.95 kB / 0.7399 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.2645, allocations: 165.6 kB / 0.74 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.2649, allocations: 70.53 kB / 0.7401 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002209/0.2651, allocations: 93.19 kB / 0.7402 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.2652, allocations: 34.56 kB / 0.7402 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.2652, allocations: 0 / 0.7402 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.001778/0.267, allocations: 486 kB / 0.7407 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.267, allocations: 55.36 kB / 0.7407 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.626e-05/0.2671, allocations: 96.92 kB / 0.7408 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.2671, allocations: 25.7 kB / 0.7409 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.2672, allocations: 88.08 kB / 0.7409 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.2672, allocations: 15.72 kB / 0.741 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.2672, allocations: 4 kB / 0.741 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2673, allocations: 314.8 kB / 0.7413 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.2675, allocations: 31.98 kB / 0.7413 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.285e-05/0.2676, allocations: 27.97 kB / 0.7413 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.2677, allocations: 31.98 kB / 0.7413 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2677, allocations: 0 / 0.7413 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002518/0.2679, allocations: 105.6 kB / 0.7414 GB, free: 1.445 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.268, allocations: 4 kB / 0.7415 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.268, allocations: 0 / 0.7415 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.268, allocations: 0 / 0.7415 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.2682, allocations: 23.97 kB / 0.7415 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2682, allocations: 3.938 kB / 0.7415 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.2683, allocations: 15.95 kB / 0.7415 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.2683, allocations: 3.984 kB / 0.7415 GB, free: 1.395 MB / 0.5105 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 (7): * Single equations (assignments): 7 * 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 8.722e-05/0.2684, allocations: 117.6 kB / 0.7416 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.2684, allocations: 3.906 kB / 0.7416 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.256e-05/0.2685, allocations: 11.97 kB / 0.7416 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2685, allocations: 0 / 0.7416 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2685, allocations: 4.062 kB / 0.7416 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2685, allocations: 0 / 0.7416 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006522/0.2692, allocations: 371.2 kB / 0.742 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2692, allocations: 0 / 0.742 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.2693, allocations: 19.98 kB / 0.742 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.2693, allocations: 4.031 kB / 0.742 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.2694, allocations: 0 / 0.742 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.2694, allocations: 7.984 kB / 0.742 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.2694, allocations: 3.953 kB / 0.742 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005127/0.2699, allocations: 238 kB / 0.7422 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-05/0.27, allocations: 93.03 kB / 0.7423 GB, free: 432 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.27, allocations: 0 / 0.7423 GB, free: 432 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.2702, allocations: 15.94 kB / 0.7423 GB, free: 416 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.2702, allocations: 4 kB / 0.7424 GB, free: 412 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.2702, allocations: 4.062 kB / 0.7424 GB, free: 408 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.958e-05/0.2703, allocations: 87.78 kB / 0.7424 GB, free: 320 kB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2703, allocations: 0 / 0.7424 GB, free: 320 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002312/0.2705, allocations: 19.94 kB / 0.7425 GB, free: 300 kB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.000131/0.2706, allocations: 99.25 kB / 0.7426 GB, free: 192 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.2709, allocations: 75.89 kB / 0.7426 GB, free: 116 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2709, allocations: 3.938 kB / 0.7426 GB, free: 112 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.271, allocations: 31.97 kB / 0.7427 GB, free: 80 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.2712, allocations: 8 kB / 0.7427 GB, free: 72 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2405/0.5117, allocations: 262.6 kB / 0.7429 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.5118, allocations: 0.6838 MB / 0.7436 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.213e-05/0.5119, allocations: 8.734 kB / 0.7436 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.512, allocations: 11.91 kB / 0.7436 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.202e-06/0.512, allocations: 3.719 kB / 0.7436 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.002581/0.5146, allocations: 0.6492 MB / 0.7442 GB, free: 109.1 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)