Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7347/0.7347, allocations: 127.3 MB / 139.8 MB, free: 15.49 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.001091/0.001092, allocations: 188.7 kB / 169.7 MB, free: 1.734 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.822/1.822, allocations: 205.1 MB / 404.5 MB, free: 1.656 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.0009109/0.0009113, allocations: 89.94 kB / 481.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.922e-05/3.925e-05, allocations: 0 / 0.5532 GB, free: 54.83 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1748, allocations: 76.75 MB / 0.6282 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6143/0.7892, allocations: 103.5 MB / 0.7292 GB, free: 9.852 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.7895, allocations: 84.44 kB / 0.7293 GB, free: 9.801 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01391/0.8034, allocations: 4.847 MB / 0.734 GB, free: 5.727 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.8035, allocations: 7.938 kB / 0.734 GB, free: 5.719 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.8035, allocations: 0 / 0.734 GB, free: 5.719 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003571/0.8038, allocations: 342.3 kB / 0.7344 GB, free: 5.344 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.8039, allocations: 12.03 kB / 0.7344 GB, free: 5.332 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.8039, allocations: 3.953 kB / 0.7344 GB, free: 5.328 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.8041, allocations: 167 kB / 0.7345 GB, free: 5.125 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.8041, allocations: 7.75 kB / 0.7346 GB, free: 5.121 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.8042, allocations: 4.625 kB / 0.7346 GB, free: 5.117 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004325/0.8046, allocations: 79.89 kB / 0.7346 GB, free: 5.039 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.8046, allocations: 3.906 kB / 0.7346 GB, free: 5.035 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.8047, allocations: 11 kB / 0.7346 GB, free: 5.027 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.8047, allocations: 3.938 kB / 0.7347 GB, free: 5.023 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.805, allocations: 59.08 kB / 0.7347 GB, free: 4.969 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.8052, allocations: 161.5 kB / 0.7349 GB, free: 4.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.8055, allocations: 89.91 kB / 0.7349 GB, free: 4.684 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.234e-05/0.8056, allocations: 34.16 kB / 0.735 GB, free: 4.656 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/0.8058, allocations: 93.09 kB / 0.7351 GB, free: 4.547 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.8059, allocations: 34.56 kB / 0.7351 GB, free: 4.504 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.694e-06/0.8059, allocations: 7.938 kB / 0.7351 GB, free: 4.496 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.00405/0.8099, allocations: 1.002 MB / 0.7361 GB, free: 3.469 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.81, allocations: 59.34 kB / 0.7361 GB, free: 3.398 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.288e-05/0.8101, allocations: 91.69 kB / 0.7362 GB, free: 3.305 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.8101, allocations: 25.7 kB / 0.7363 GB, free: 3.273 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.8101, allocations: 86.45 kB / 0.7363 GB, free: 3.188 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.8102, allocations: 34.95 kB / 0.7364 GB, free: 3.156 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/0.8102, allocations: 3.438 kB / 0.7364 GB, free: 3.156 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.8104, allocations: 318.3 kB / 0.7367 GB, free: 2.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.938e-05/0.8104, allocations: 26.88 kB / 0.7367 GB, free: 2.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.016e-05/0.8105, allocations: 31.81 kB / 0.7367 GB, free: 2.801 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.702e-05/0.8106, allocations: 31.23 kB / 0.7368 GB, free: 2.777 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.8106, allocations: 0 / 0.7368 GB, free: 2.777 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002166/0.8108, allocations: 123.4 kB / 0.7369 GB, free: 2.676 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.8109, allocations: 8 kB / 0.7369 GB, free: 2.668 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.8109, allocations: 4.531 kB / 0.7369 GB, free: 2.664 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.8109, allocations: 0 / 0.7369 GB, free: 2.664 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.8113, allocations: 55.45 kB / 0.7369 GB, free: 2.613 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.8113, allocations: 11.95 kB / 0.737 GB, free: 2.602 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.8115, allocations: 27.97 kB / 0.737 GB, free: 2.574 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.8115, allocations: 3.312 kB / 0.737 GB, free: 2.574 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 7.686e-05/0.8116, allocations: 108.7 kB / 0.7371 GB, free: 2.465 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.8116, allocations: 4 kB / 0.7371 GB, free: 2.461 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.835e-05/0.8117, allocations: 15.64 kB / 0.7371 GB, free: 2.453 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.8117, allocations: 4 kB / 0.7371 GB, free: 2.449 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.8117, allocations: 0 / 0.7371 GB, free: 2.449 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.8117, allocations: 3.953 kB / 0.7371 GB, free: 2.445 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005684/0.8123, allocations: 390 kB / 0.7375 GB, free: 2.043 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8123, allocations: 0 / 0.7375 GB, free: 2.043 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/0.8126, allocations: 47.95 kB / 0.7375 GB, free: 1.996 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.8127, allocations: 96 / 0.7375 GB, free: 1.996 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.8127, allocations: 19.17 kB / 0.7376 GB, free: 1.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.8127, allocations: 3.953 kB / 0.7376 GB, free: 1.977 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.8127, allocations: 0 / 0.7376 GB, free: 1.977 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.8131, allocations: 252.9 kB / 0.7378 GB, free: 1.754 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/0.8132, allocations: 81.02 kB / 0.7379 GB, free: 1.656 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.8132, allocations: 0 / 0.7379 GB, free: 1.656 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.8135, allocations: 39 kB / 0.7379 GB, free: 1.621 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.8135, allocations: 11.94 kB / 0.7379 GB, free: 1.609 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.8135, allocations: 7.234 kB / 0.7379 GB, free: 1.605 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.002e-05/0.8136, allocations: 79.28 kB / 0.738 GB, free: 1.527 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8136, allocations: 0 / 0.738 GB, free: 1.527 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002441/0.8138, allocations: 27.5 kB / 0.738 GB, free: 1.504 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0001765/0.814, allocations: 111.1 kB / 0.7381 GB, free: 1.387 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.8142, allocations: 84.36 kB / 0.7382 GB, free: 1.324 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.8142, allocations: 0 / 0.7382 GB, free: 1.324 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.346e-05/0.8143, allocations: 49.06 kB / 0.7383 GB, free: 1.289 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.8145, allocations: 5.984 kB / 0.7383 GB, free: 1.285 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.8157, allocations: 391.6 kB / 0.7386 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.816, allocations: 0.6887 MB / 0.7393 GB, free: 180 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001418/0.8162, allocations: 19.98 kB / 0.7393 GB, free: 160 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.385e-05/0.8163, allocations: 15.38 kB / 0.7394 GB, free: 144 kB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.8163, allocations: 0 / 0.7394 GB, free: 144 kB / 490.7 MB Notification: Performance of Templates: time 0.002982/0.8192, allocations: 0.9937 MB / 0.7403 GB, free: 15.2 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)