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.7485/0.7485, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001239/0.001239, allocations: 172.8 kB / 169.7 MB, free: 1.762 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.1 MB / 404.5 MB, free: 1.664 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.0009261/0.0009263, allocations: 98.14 kB / 481.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.518e-05/3.53e-05, allocations: 4 kB / 0.5532 GB, free: 54.83 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1707, allocations: 76.75 MB / 0.6282 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6277/0.7985, allocations: 104.2 MB / 0.7299 GB, free: 9.168 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.7988, allocations: 82.94 kB / 0.73 GB, free: 9.121 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01335/0.8121, allocations: 4.582 MB / 0.7345 GB, free: 5.238 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.8122, allocations: 0 / 0.7345 GB, free: 5.238 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.8122, allocations: 0 / 0.7345 GB, free: 5.238 MB / 490.7 MB 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.0005187/0.8127, allocations: 369.9 kB / 0.7348 GB, free: 4.836 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.8128, allocations: 12.03 kB / 0.7348 GB, free: 4.824 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.8128, allocations: 12.48 kB / 0.7348 GB, free: 4.812 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.813, allocations: 159.1 kB / 0.735 GB, free: 4.617 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.813, allocations: 7 kB / 0.735 GB, free: 4.613 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.8131, allocations: 7 kB / 0.735 GB, free: 4.609 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.8135, allocations: 95.39 kB / 0.7351 GB, free: 4.523 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.8135, allocations: 0 / 0.7351 GB, free: 4.523 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.8135, allocations: 0 / 0.7351 GB, free: 4.523 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.8136, allocations: 8 kB / 0.7351 GB, free: 4.516 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.8138, allocations: 58.09 kB / 0.7351 GB, free: 4.469 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006477/0.8145, allocations: 330.2 kB / 0.7355 GB, free: 4.117 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.8148, allocations: 79.61 kB / 0.7355 GB, free: 4.043 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.294e-05/0.8149, allocations: 30.73 kB / 0.7356 GB, free: 4.016 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002183/0.8151, allocations: 97.23 kB / 0.7357 GB, free: 3.902 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.8151, allocations: 41.69 kB / 0.7357 GB, free: 3.855 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.8152, allocations: 0 / 0.7357 GB, free: 3.855 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.003462/0.8186, allocations: 0.837 MB / 0.7365 GB, free: 2.992 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.8187, allocations: 55.41 kB / 0.7366 GB, free: 2.926 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.467e-05/0.8188, allocations: 92.98 kB / 0.7367 GB, free: 2.828 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.8188, allocations: 33.58 kB / 0.7367 GB, free: 2.793 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.8189, allocations: 92.03 kB / 0.7368 GB, free: 2.699 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.8189, allocations: 41.95 kB / 0.7368 GB, free: 2.664 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.819, allocations: 0 / 0.7368 GB, free: 2.664 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.8191, allocations: 322.1 kB / 0.7371 GB, free: 2.344 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.061e-05/0.8192, allocations: 31.59 kB / 0.7372 GB, free: 2.324 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.698e-05/0.8192, allocations: 39.67 kB / 0.7372 GB, free: 2.297 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.044e-05/0.8193, allocations: 26.8 kB / 0.7372 GB, free: 2.277 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.8193, allocations: 0 / 0.7372 GB, free: 2.277 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002288/0.8196, allocations: 121.3 kB / 0.7373 GB, free: 2.176 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.8196, allocations: 8 kB / 0.7373 GB, free: 2.168 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.8196, allocations: 0 / 0.7373 GB, free: 2.168 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.8196, allocations: 0 / 0.7373 GB, free: 2.168 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.82, allocations: 51.02 kB / 0.7374 GB, free: 2.121 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.82, allocations: 0 / 0.7374 GB, free: 2.121 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.8202, allocations: 23.98 kB / 0.7374 GB, free: 2.098 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.8202, allocations: 7.984 kB / 0.7374 GB, free: 2.09 MB / 490.7 MB 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 9.117e-05/0.8203, allocations: 108.1 kB / 0.7375 GB, free: 1.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.8204, allocations: 10.83 kB / 0.7375 GB, free: 1.973 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.8204, allocations: 10.72 kB / 0.7375 GB, free: 1.969 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.8204, allocations: 4 kB / 0.7376 GB, free: 1.965 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8204, allocations: 0 / 0.7376 GB, free: 1.965 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.8204, allocations: 0 / 0.7376 GB, free: 1.965 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000558/0.821, allocations: 408.9 kB / 0.7379 GB, free: 1.551 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.821, allocations: 0 / 0.7379 GB, free: 1.551 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003287/0.8213, allocations: 39.97 kB / 0.738 GB, free: 1.512 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.8214, allocations: 0 / 0.738 GB, free: 1.512 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.8214, allocations: 11.67 kB / 0.738 GB, free: 1.504 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.8214, allocations: 0 / 0.738 GB, free: 1.504 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.8214, allocations: 0 / 0.738 GB, free: 1.504 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.8218, allocations: 266.5 kB / 0.7382 GB, free: 1.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/0.8219, allocations: 77.11 kB / 0.7383 GB, free: 1.176 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.8219, allocations: 0 / 0.7383 GB, free: 1.176 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.8222, allocations: 26.97 kB / 0.7383 GB, free: 1.152 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.8222, allocations: 7.984 kB / 0.7384 GB, free: 1.145 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.8223, allocations: 4 kB / 0.7384 GB, free: 1.141 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.415e-05/0.8223, allocations: 86.53 kB / 0.7384 GB, free: 1.059 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8223, allocations: 0 / 0.7384 GB, free: 1.059 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002492/0.8226, allocations: 23.38 kB / 0.7385 GB, free: 1.039 MB / 490.7 MB 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.0001905/0.8228, allocations: 107.2 kB / 0.7386 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.823, allocations: 91.48 kB / 0.7386 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.823, allocations: 0 / 0.7386 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.179e-05/0.8231, allocations: 49.36 kB / 0.7387 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.8233, allocations: 11.31 kB / 0.7387 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.8244, allocations: 339.4 kB / 0.739 GB, free: 492 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.8249, allocations: 0.7042 MB / 0.7397 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001277/0.825, allocations: 16.67 kB / 0.7397 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/0.8251, allocations: 15.42 kB / 0.7397 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of SimCode: time 7.62e-07/0.8251, allocations: 0 / 0.7397 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.003621/0.8287, allocations: 1.011 MB / 0.7407 GB, free: 14.76 MB / 0.4948 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)