Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8638/0.8638, allocations: 127.4 MB / 134.9 MB, free: 3.488 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.001159/0.001159, allocations: 181.2 kB / 164.6 MB, free: 11.59 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.638/1.638, allocations: 205.2 MB / 399.5 MB, free: 13.55 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.0008751/0.0008749, allocations: 90.41 kB / 476.7 MB, free: 1.512 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.579e-05/1.563e-05, allocations: 6.031 kB / 0.5466 GB, free: 95.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1615, allocations: 76.77 MB / 0.6215 GB, free: 43.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.3049, allocations: 103.5 MB / 0.7226 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.3052, allocations: 87.94 kB / 0.7227 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01318/0.3184, allocations: 4.555 MB / 0.7272 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3184, allocations: 0 / 0.7272 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.3184, allocations: 0 / 0.7272 GB, free: 14.79 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004684/0.3189, allocations: 362.4 kB / 0.7275 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.319, allocations: 12.03 kB / 0.7275 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.319, allocations: 7.859 kB / 0.7275 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.3191, allocations: 174.9 kB / 0.7277 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.3192, allocations: 4 kB / 0.7277 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.3192, allocations: 4 kB / 0.7277 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001045/0.3193, allocations: 24 kB / 0.7277 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.3195, allocations: 65.67 kB / 0.7278 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3195, allocations: 3.938 kB / 0.7278 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.3195, allocations: 0 / 0.7278 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.3195, allocations: 7.953 kB / 0.7278 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.3201, allocations: 297.3 kB / 0.7281 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.3202, allocations: 62.56 kB / 0.7281 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.3202, allocations: 16.86 kB / 0.7282 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002132/0.3205, allocations: 97.23 kB / 0.7282 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3205, allocations: 38.52 kB / 0.7283 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.3205, allocations: 3.938 kB / 0.7283 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.002999/0.3235, allocations: 0.7585 MB / 0.729 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.3236, allocations: 55.41 kB / 0.7291 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.28e-05/0.3237, allocations: 96.98 kB / 0.7292 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3237, allocations: 25.7 kB / 0.7292 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.3237, allocations: 91.98 kB / 0.7293 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.3238, allocations: 35.45 kB / 0.7293 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.3238, allocations: 0 / 0.7293 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.3239, allocations: 315.7 kB / 0.7296 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.397e-05/0.324, allocations: 39.92 kB / 0.7297 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.024e-05/0.3241, allocations: 24 kB / 0.7297 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.891e-05/0.3241, allocations: 31.98 kB / 0.7297 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3241, allocations: 0 / 0.7297 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001929/0.3243, allocations: 120.7 kB / 0.7298 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3243, allocations: 7.984 kB / 0.7298 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3244, allocations: 0 / 0.7298 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3244, allocations: 0 / 0.7298 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.3247, allocations: 39.97 kB / 0.7299 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.3247, allocations: 4 kB / 0.7299 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.3249, allocations: 23.97 kB / 0.7299 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.325, allocations: 11.88 kB / 0.7299 GB, free: 11.66 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 () * 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 8.237e-05/0.3251, allocations: 101 kB / 0.73 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.3251, allocations: 8.141 kB / 0.73 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.3252, allocations: 12.39 kB / 0.73 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3252, allocations: 4 kB / 0.73 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3252, allocations: 4 kB / 0.73 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3252, allocations: 3.984 kB / 0.73 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/0.3256, allocations: 359 kB / 0.7304 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.3256, allocations: 7.938 kB / 0.7304 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/0.326, allocations: 39.97 kB / 0.7304 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.326, allocations: 96 / 0.7304 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.326, allocations: 15.86 kB / 0.7304 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.326, allocations: 4 kB / 0.7304 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.326, allocations: 0 / 0.7304 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.3264, allocations: 239.4 kB / 0.7307 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.3264, allocations: 85.09 kB / 0.7308 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.3264, allocations: 0 / 0.7308 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.3267, allocations: 28.03 kB / 0.7308 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.3268, allocations: 7.938 kB / 0.7308 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.3268, allocations: 7.984 kB / 0.7308 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.104e-05/0.3268, allocations: 79.28 kB / 0.7309 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3268, allocations: 0 / 0.7309 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002675/0.3271, allocations: 23.94 kB / 0.7309 GB, free: 10.57 MB / 0.5105 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.0001659/0.3273, allocations: 103.2 kB / 0.731 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001893/0.3275, allocations: 79.92 kB / 0.7311 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3275, allocations: 8 kB / 0.7311 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.906e-05/0.3276, allocations: 36 kB / 0.7311 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.3278, allocations: 9 kB / 0.7311 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009897/0.3288, allocations: 332.6 kB / 0.7314 GB, free: 9.984 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.329, allocations: 0.704 MB / 0.7321 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.3292, allocations: 12.67 kB / 0.7321 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/0.3292, allocations: 19.36 kB / 0.7322 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.3292, allocations: 4 kB / 0.7322 GB, free: 9.219 MB / 0.5105 GB Notification: Performance of Templates: time 0.003224/0.3325, allocations: 0.9663 MB / 0.7331 GB, free: 8.293 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)