Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 105.1 kB / 16.4 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001163, allocations: 196 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7657/0.7657, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 66.97 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1407, allocations: 76.18 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002553/0.1433, allocations: 1.265 MB / 0.6333 GB, free: 3.137 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1444, allocations: 0.6152 MB / 0.6339 GB, free: 2.52 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.836e-05/0.1444, allocations: 3.938 kB / 0.6339 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.1444, allocations: 3.938 kB / 0.6339 GB, free: 2.512 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.362e-05/0.1445, allocations: 4 kB / 0.6339 GB, free: 2.508 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.1451, allocations: 155.3 kB / 0.6341 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.862e-05/0.1452, allocations: 23.92 kB / 0.6341 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.1452, allocations: 8 kB / 0.6341 GB, free: 2.324 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.36e-05/0.1452, allocations: 15.92 kB / 0.6341 GB, free: 2.309 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.299e-05/0.1453, allocations: 11.98 kB / 0.6341 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.1453, allocations: 0 / 0.6341 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004541/0.1458, allocations: 343.3 kB / 0.6345 GB, free: 1.961 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.1458, allocations: 3.938 kB / 0.6345 GB, free: 1.957 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.1458, allocations: 19.92 kB / 0.6345 GB, free: 1.938 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.1461, allocations: 155.5 kB / 0.6346 GB, free: 1.785 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1461, allocations: 4 kB / 0.6346 GB, free: 1.781 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1461, allocations: 4 kB / 0.6346 GB, free: 1.777 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1461, allocations: 0 / 0.6346 GB, free: 1.777 MB / 478.1 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.0004334/0.1465, allocations: 363.5 kB / 0.635 GB, free: 1.371 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1466, allocations: 12.03 kB / 0.635 GB, free: 1.359 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.1466, allocations: 4.844 kB / 0.635 GB, free: 1.355 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.1468, allocations: 168.3 kB / 0.6352 GB, free: 1.152 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1468, allocations: 384 / 0.6352 GB, free: 1.152 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.1468, allocations: 12.36 kB / 0.6352 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.147, allocations: 50.25 kB / 0.6352 GB, free: 1.086 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.147, allocations: 192 / 0.6352 GB, free: 1.086 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.147, allocations: 7.938 kB / 0.6352 GB, free: 1.078 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.147, allocations: 0 / 0.6352 GB, free: 1.078 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.847e-05/0.1471, allocations: 27.91 kB / 0.6353 GB, free: 1.051 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/0.1473, allocations: 165.7 kB / 0.6354 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.1474, allocations: 54.56 kB / 0.6355 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.835e-05/0.1475, allocations: 28.84 kB / 0.6355 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.1475, allocations: 8 kB / 0.6355 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.1476, allocations: 30.56 kB / 0.6355 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.1476, allocations: 0 / 0.6355 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.001191/0.1488, allocations: 0.5994 MB / 0.6361 GB, free: 8 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.1488, allocations: 51.41 kB / 0.6362 GB, free: 15.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.79e-05/0.1489, allocations: 93.95 kB / 0.6363 GB, free: 15.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1489, allocations: 33.64 kB / 0.6363 GB, free: 15.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.149, allocations: 84.14 kB / 0.6364 GB, free: 15.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.149, allocations: 39.44 kB / 0.6364 GB, free: 15.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.1491, allocations: 29.7 kB / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1492, allocations: 315 kB / 0.6367 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.005e-05/0.1492, allocations: 23.98 kB / 0.6368 GB, free: 15.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4e-05/0.1493, allocations: 22.73 kB / 0.6368 GB, free: 15.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.662e-05/0.1494, allocations: 60.8 kB / 0.6368 GB, free: 15.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1494, allocations: 0 / 0.6368 GB, free: 15.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000138/0.1495, allocations: 105.5 kB / 0.6369 GB, free: 15.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1495, allocations: 5.562 kB / 0.6369 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1496, allocations: 3.984 kB / 0.6369 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1496, allocations: 4 kB / 0.6369 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1497, allocations: 16 kB / 0.637 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.1497, allocations: 4 kB / 0.637 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.1497, allocations: 0 / 0.637 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1497, allocations: 8 kB / 0.637 GB, free: 15.07 MB / 494.1 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.828e-05/0.1498, allocations: 117.8 kB / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.1498, allocations: 7.938 kB / 0.6371 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002066/0.1501, allocations: 97.58 kB / 0.6372 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1501, allocations: 0 / 0.6372 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.1501, allocations: 3.938 kB / 0.6372 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1501, allocations: 4 kB / 0.6372 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000406/0.1505, allocations: 354.7 kB / 0.6375 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1505, allocations: 0 / 0.6375 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1506, allocations: 27.98 kB / 0.6376 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1507, allocations: 0 / 0.6376 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1507, allocations: 0 / 0.6376 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1507, allocations: 0 / 0.6376 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1507, allocations: 0 / 0.6376 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.151, allocations: 243.2 kB / 0.6378 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.151, allocations: 81.02 kB / 0.6379 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.151, allocations: 4.031 kB / 0.6379 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.61e-05/0.1511, allocations: 8 kB / 0.6379 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.1511, allocations: 7.984 kB / 0.6379 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.1512, allocations: 4 kB / 0.6379 GB, free: 14.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.907e-05/0.1512, allocations: 75.28 kB / 0.638 GB, free: 13.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1512, allocations: 0 / 0.638 GB, free: 13.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.1515, allocations: 35.94 kB / 0.638 GB, free: 13.91 MB / 494.1 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001917/0.1517, allocations: 139.4 kB / 0.6381 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.1518, allocations: 75.03 kB / 0.6382 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1518, allocations: 0 / 0.6382 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.201e-05/0.1519, allocations: 35.94 kB / 0.6382 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.1521, allocations: 11.98 kB / 0.6382 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.1527, allocations: 269.1 kB / 0.6385 GB, free: 13.36 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.1529, allocations: 0.6885 MB / 0.6392 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.16e-05/0.153, allocations: 11.92 kB / 0.6392 GB, free: 12.63 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.153, allocations: 15.44 kB / 0.6392 GB, free: 12.62 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.153, allocations: 0 / 0.6392 GB, free: 12.62 MB / 494.1 MB Notification: Performance of Templates: time 0.003027/0.156, allocations: 0.9475 MB / 0.6401 GB, free: 11.71 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)