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.746/0.746, allocations: 127.3 MB / 139.8 MB, free: 15.44 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.001059/0.001059, allocations: 184.8 kB / 169.7 MB, free: 1.73 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.928/1.928, allocations: 205.1 MB / 404.5 MB, free: 1.652 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.0008798/0.0008798, allocations: 86.36 kB / 481.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.99e-05/2.993e-05, allocations: 4 kB / 0.5532 GB, free: 54.82 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1823, allocations: 76.75 MB / 0.6282 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6201/0.8024, allocations: 103.2 MB / 0.729 GB, free: 10.12 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.8027, allocations: 78.95 kB / 0.729 GB, free: 10.08 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008523/0.8113, allocations: 3.018 MB / 0.732 GB, free: 7.516 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.8113, allocations: 0 / 0.732 GB, free: 7.516 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.8113, allocations: 4 kB / 0.732 GB, free: 7.512 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003313/0.8117, allocations: 333.6 kB / 0.7323 GB, free: 7.145 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.8117, allocations: 12.03 kB / 0.7323 GB, free: 7.133 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.8118, allocations: 3.953 kB / 0.7323 GB, free: 7.129 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.8119, allocations: 171 kB / 0.7325 GB, free: 6.922 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.8119, allocations: 11.12 kB / 0.7325 GB, free: 6.914 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.812, allocations: 0 / 0.7325 GB, free: 6.914 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.8123, allocations: 65.34 kB / 0.7326 GB, free: 6.848 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.8123, allocations: 0 / 0.7326 GB, free: 6.848 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.8124, allocations: 11.94 kB / 0.7326 GB, free: 6.836 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.8124, allocations: 3.953 kB / 0.7326 GB, free: 6.832 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.8126, allocations: 31.28 kB / 0.7326 GB, free: 6.805 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.8128, allocations: 157.2 kB / 0.7328 GB, free: 6.609 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.8131, allocations: 65.89 kB / 0.7328 GB, free: 6.543 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.8132, allocations: 20.73 kB / 0.7328 GB, free: 6.523 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/0.8134, allocations: 93.19 kB / 0.7329 GB, free: 6.414 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.8134, allocations: 34.5 kB / 0.733 GB, free: 6.371 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.8135, allocations: 0 / 0.733 GB, free: 6.371 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.001338/0.8148, allocations: 405.9 kB / 0.7334 GB, free: 5.953 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.8149, allocations: 63.34 kB / 0.7334 GB, free: 5.879 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.61e-05/0.8149, allocations: 89 kB / 0.7335 GB, free: 5.785 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.815, allocations: 25.7 kB / 0.7335 GB, free: 5.754 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.815, allocations: 87.27 kB / 0.7336 GB, free: 5.668 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.815, allocations: 19.62 kB / 0.7336 GB, free: 5.652 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.8151, allocations: 0 / 0.7336 GB, free: 5.652 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.8152, allocations: 314.8 kB / 0.7339 GB, free: 5.336 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.838e-05/0.8152, allocations: 15.5 kB / 0.7339 GB, free: 5.328 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.381e-05/0.8153, allocations: 14.94 kB / 0.734 GB, free: 5.316 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.338e-05/0.8153, allocations: 15.42 kB / 0.734 GB, free: 5.305 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.8153, allocations: 0 / 0.734 GB, free: 5.305 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001299/0.8155, allocations: 80.72 kB / 0.734 GB, free: 5.234 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.8155, allocations: 8 kB / 0.7341 GB, free: 5.227 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.8155, allocations: 3.938 kB / 0.7341 GB, free: 5.223 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.8155, allocations: 4 kB / 0.7341 GB, free: 5.219 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.8157, allocations: 16.36 kB / 0.7341 GB, free: 5.203 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.8157, allocations: 7.984 kB / 0.7341 GB, free: 5.195 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.119e-05/0.8158, allocations: 7.953 kB / 0.7341 GB, free: 5.188 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.8158, allocations: 4 kB / 0.7341 GB, free: 5.184 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 (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 7.191e-05/0.8159, allocations: 111.7 kB / 0.7342 GB, free: 5.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.8159, allocations: 7.984 kB / 0.7342 GB, free: 5.062 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.816, allocations: 12.02 kB / 0.7342 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.816, allocations: 0 / 0.7342 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.816, allocations: 0 / 0.7342 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.816, allocations: 4 kB / 0.7342 GB, free: 5.055 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.8165, allocations: 340.8 kB / 0.7346 GB, free: 4.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8165, allocations: 0 / 0.7346 GB, free: 4.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.8167, allocations: 24.02 kB / 0.7346 GB, free: 4.656 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.8167, allocations: 3.938 kB / 0.7346 GB, free: 4.652 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.8167, allocations: 7.922 kB / 0.7346 GB, free: 4.648 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.8167, allocations: 240 / 0.7346 GB, free: 4.648 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.8167, allocations: 7.953 kB / 0.7346 GB, free: 4.641 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.817, allocations: 209.4 kB / 0.7348 GB, free: 4.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.817, allocations: 88.75 kB / 0.7349 GB, free: 4.328 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.8171, allocations: 0 / 0.7349 GB, free: 4.328 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.8172, allocations: 11.95 kB / 0.7349 GB, free: 4.316 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.8172, allocations: 7.984 kB / 0.7349 GB, free: 4.309 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.8172, allocations: 0 / 0.7349 GB, free: 4.309 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.069e-05/0.8173, allocations: 83.22 kB / 0.735 GB, free: 4.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8173, allocations: 0 / 0.735 GB, free: 4.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002136/0.8175, allocations: 16 kB / 0.735 GB, free: 4.215 MB / 490.7 MB 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 () * 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.0001451/0.8177, allocations: 107.3 kB / 0.7351 GB, free: 4.102 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.8178, allocations: 46 kB / 0.7351 GB, free: 4.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8178, allocations: 0 / 0.7351 GB, free: 4.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.163e-05/0.8179, allocations: 23.55 kB / 0.7352 GB, free: 4.051 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.818, allocations: 4 kB / 0.7352 GB, free: 4.047 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005154/0.8185, allocations: 177.5 kB / 0.7353 GB, free: 3.855 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.8188, allocations: 0.6972 MB / 0.736 GB, free: 3.133 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.316e-05/0.8189, allocations: 0 / 0.736 GB, free: 3.133 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/0.8189, allocations: 19.42 kB / 0.736 GB, free: 3.113 MB / 490.7 MB Notification: Performance of SimCode: time 3.31e-07/0.8189, allocations: 0 / 0.736 GB, free: 3.113 MB / 490.7 MB Notification: Performance of Templates: time 0.002578/0.8215, allocations: 0.654 MB / 0.7367 GB, free: 2.504 MB / 490.7 MB 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)