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.8831/0.8831, allocations: 128.7 MB / 143.7 MB, free: 2.301 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.001002/0.001002, allocations: 186 kB / 173.8 MB, free: 6.113 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.417/1.417, allocations: 205.4 MB / 409 MB, free: 10.51 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.00103/0.00103, allocations: 100.3 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003304, allocations: 9.281 kB / 0.5604 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1412, allocations: 76.76 MB / 0.6353 GB, free: 30.54 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.2821, allocations: 104.3 MB / 0.7371 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.2824, allocations: 87.95 kB / 0.7372 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01393/0.2964, allocations: 4.578 MB / 0.7417 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.295e-06/0.2964, allocations: 0 / 0.7417 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.2964, allocations: 0 / 0.7417 GB, free: 1.461 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.0004911/0.2969, allocations: 373.8 kB / 0.7421 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.297, allocations: 8.031 kB / 0.7421 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.297, allocations: 15.95 kB / 0.7421 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.2972, allocations: 174.8 kB / 0.7422 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.2972, allocations: 4 kB / 0.7423 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.2972, allocations: 8 kB / 0.7423 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/0.2978, allocations: 106.5 kB / 0.7424 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.2978, allocations: 0 / 0.7424 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.2978, allocations: 8 kB / 0.7424 GB, free: 0.6875 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2978, allocations: 4 kB / 0.7424 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004722/0.2983, allocations: 95.78 kB / 0.7425 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005761/0.2989, allocations: 328.8 kB / 0.7428 GB, free: 224 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.2994, allocations: 126.4 kB / 0.7429 GB, free: 88 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3094/0.6088, allocations: 96.77 kB / 0.743 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/0.6089, allocations: 32.22 kB / 0.743 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 3.327e-06/0.6089, allocations: 0.6875 kB / 0.743 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.004914/0.6138, allocations: 1.065 MB / 0.7441 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.6138, allocations: 54.78 kB / 0.7441 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.928e-05/0.6139, allocations: 93.05 kB / 0.7442 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.6139, allocations: 28.09 kB / 0.7442 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.614, allocations: 87.86 kB / 0.7443 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.614, allocations: 44.98 kB / 0.7444 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.304e-05/0.6141, allocations: 2.375 kB / 0.7444 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.129e-05/0.6142, allocations: 322.3 kB / 0.7447 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.6144, allocations: 69.08 kB / 0.7447 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.6146, allocations: 61.05 kB / 0.7448 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.6149, allocations: 68.34 kB / 0.7449 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.6149, allocations: 0 / 0.7449 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005058/0.6154, allocations: 186.2 kB / 0.745 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.6154, allocations: 3.344 kB / 0.745 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.6154, allocations: 0 / 0.745 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.6154, allocations: 3.438 kB / 0.745 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.6158, allocations: 48.52 kB / 0.7451 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.6158, allocations: 0 / 0.7451 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.616, allocations: 19.47 kB / 0.7451 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.616, allocations: 8.875 kB / 0.7451 GB, free: 108.8 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 (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 7.945e-05/0.6161, allocations: 120.2 kB / 0.7452 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.6161, allocations: 11.36 kB / 0.7452 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.142e-05/0.6162, allocations: 14.53 kB / 0.7452 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.6162, allocations: 1.453 kB / 0.7453 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.6162, allocations: 2.406 kB / 0.7453 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.6162, allocations: 96 / 0.7453 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007496/0.617, allocations: 471 kB / 0.7457 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.617, allocations: 1.531 kB / 0.7457 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.6173, allocations: 44.34 kB / 0.7457 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.6173, allocations: 2.062 kB / 0.7457 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.6174, allocations: 7.984 kB / 0.7458 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.6174, allocations: 0.7812 kB / 0.7458 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6174, allocations: 1.344 kB / 0.7458 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007841/0.6182, allocations: 359 kB / 0.7461 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.275e-05/0.6182, allocations: 80.58 kB / 0.7462 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.6182, allocations: 1.188 kB / 0.7462 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.6185, allocations: 23.83 kB / 0.7462 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.6185, allocations: 6.578 kB / 0.7462 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.6186, allocations: 6.844 kB / 0.7462 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.837e-05/0.6186, allocations: 86.5 kB / 0.7463 GB, free: 108 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6186, allocations: 0 / 0.7463 GB, free: 108 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002434/0.6189, allocations: 25.19 kB / 0.7463 GB, free: 108 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 () * 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 (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.0001745/0.619, allocations: 107.5 kB / 0.7464 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005135/0.6196, allocations: 154.8 kB / 0.7466 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.6196, allocations: 0 / 0.7466 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.6198, allocations: 81.42 kB / 0.7466 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.62, allocations: 10.19 kB / 0.7467 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.6213, allocations: 499 kB / 0.7471 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.6214, allocations: 0.6942 MB / 0.7478 GB, free: 107 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.6216, allocations: 17.17 kB / 0.7478 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.6216, allocations: 20.19 kB / 0.7478 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of SimCode: time 5.61e-07/0.6216, allocations: 0 / 0.7478 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.003248/0.6249, allocations: 1.003 MB / 0.7488 GB, free: 106.9 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)