Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008436/0.0008436, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009612/0.0009614, allocations: 175.5 kB / 16.58 MB, free: 6.852 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.359/1.359, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7018/0.7018, allocations: 115.5 MB / 407.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003099, allocations: 16 kB / 495.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1346, allocations: 77.52 MB / 0.5593 GB, free: 9.445 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001548/0.1361, allocations: 1.165 MB / 0.5605 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009732/0.1371, allocations: 0.5805 MB / 0.561 GB, free: 7.688 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.1372, allocations: 4 kB / 0.561 GB, free: 7.684 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.1372, allocations: 3.984 kB / 0.561 GB, free: 7.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.885e-05/0.1373, allocations: 7.938 kB / 0.5611 GB, free: 7.672 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.1377, allocations: 131.6 kB / 0.5612 GB, free: 7.543 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.226e-05/0.1378, allocations: 43.84 kB / 0.5612 GB, free: 7.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.1379, allocations: 4 kB / 0.5612 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.497e-05/0.1379, allocations: 23.91 kB / 0.5612 GB, free: 7.473 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.55e-05/0.138, allocations: 27.92 kB / 0.5613 GB, free: 7.445 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.138, allocations: 4 kB / 0.5613 GB, free: 7.441 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004783/0.1385, allocations: 335.3 kB / 0.5616 GB, free: 7.113 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.1385, allocations: 7.984 kB / 0.5616 GB, free: 7.105 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.1386, allocations: 41.64 kB / 0.5616 GB, free: 7.059 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.1387, allocations: 116 kB / 0.5618 GB, free: 6.945 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1388, allocations: 0 / 0.5618 GB, free: 6.945 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1388, allocations: 4 kB / 0.5618 GB, free: 6.941 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1388, allocations: 0 / 0.5618 GB, free: 6.941 MB / 430.1 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.0005302/0.1393, allocations: 391.2 kB / 0.5621 GB, free: 6.512 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.1394, allocations: 8.031 kB / 0.5621 GB, free: 6.504 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.1394, allocations: 11.84 kB / 0.5621 GB, free: 6.492 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.1395, allocations: 159.1 kB / 0.5623 GB, free: 6.297 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.1395, allocations: 8 kB / 0.5623 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.1396, allocations: 11.97 kB / 0.5623 GB, free: 6.277 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.1398, allocations: 100.6 kB / 0.5624 GB, free: 6.176 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1398, allocations: 0 / 0.5624 GB, free: 6.176 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.1399, allocations: 8 kB / 0.5624 GB, free: 6.168 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1399, allocations: 0 / 0.5624 GB, free: 6.168 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.1401, allocations: 55.95 kB / 0.5625 GB, free: 6.113 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005061/0.1406, allocations: 332.6 kB / 0.5628 GB, free: 5.738 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.1409, allocations: 90.53 kB / 0.5629 GB, free: 5.641 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.141, allocations: 32.84 kB / 0.5629 GB, free: 5.605 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.141, allocations: 0 / 0.5629 GB, free: 5.605 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.1411, allocations: 30.56 kB / 0.5629 GB, free: 5.566 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.1411, allocations: 4 kB / 0.5629 GB, free: 5.562 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001537/0.1426, allocations: 0.6736 MB / 0.5636 GB, free: 4.797 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.1427, allocations: 55.34 kB / 0.5637 GB, free: 4.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.341e-05/0.1427, allocations: 105.8 kB / 0.5638 GB, free: 4.617 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.1428, allocations: 29.7 kB / 0.5638 GB, free: 4.582 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.1428, allocations: 88.05 kB / 0.5639 GB, free: 4.492 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.1429, allocations: 39.45 kB / 0.5639 GB, free: 4.453 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.1429, allocations: 0 / 0.5639 GB, free: 4.453 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.183e-05/0.143, allocations: 322.8 kB / 0.5642 GB, free: 4.129 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1431, allocations: 27.98 kB / 0.5642 GB, free: 4.102 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.1432, allocations: 47.97 kB / 0.5643 GB, free: 4.055 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.1434, allocations: 31.98 kB / 0.5643 GB, free: 4.023 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1434, allocations: 0 / 0.5643 GB, free: 4.023 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002995/0.1437, allocations: 129.7 kB / 0.5644 GB, free: 3.891 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1437, allocations: 8 kB / 0.5644 GB, free: 3.883 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1437, allocations: 0 / 0.5644 GB, free: 3.883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.1437, allocations: 96 / 0.5644 GB, free: 3.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.1439, allocations: 39.86 kB / 0.5645 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1439, allocations: 0 / 0.5645 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.19e-05/0.144, allocations: 7.984 kB / 0.5645 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.144, allocations: 7.953 kB / 0.5645 GB, free: 3.828 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.636e-05/0.1441, allocations: 118.9 kB / 0.5646 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.1441, allocations: 0 / 0.5646 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003649/0.1445, allocations: 145.1 kB / 0.5648 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1445, allocations: 0 / 0.5648 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1445, allocations: 0 / 0.5648 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1445, allocations: 4.188 kB / 0.5648 GB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005279/0.145, allocations: 398.3 kB / 0.5651 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1451, allocations: 0 / 0.5651 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.1452, allocations: 35.91 kB / 0.5652 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1452, allocations: 7.984 kB / 0.5652 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1452, allocations: 4 kB / 0.5652 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1452, allocations: 0 / 0.5652 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1453, allocations: 0 / 0.5652 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004637/0.1457, allocations: 259.4 kB / 0.5654 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.1458, allocations: 81.02 kB / 0.5655 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1458, allocations: 0 / 0.5655 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.1459, allocations: 16.02 kB / 0.5655 GB, free: 2.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.1459, allocations: 7.938 kB / 0.5655 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.146, allocations: 7.984 kB / 0.5655 GB, free: 2.664 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.572e-05/0.146, allocations: 87.17 kB / 0.5656 GB, free: 2.578 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.146, allocations: 8.062 kB / 0.5656 GB, free: 2.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.1463, allocations: 35.94 kB / 0.5657 GB, free: 2.535 MB / 430.1 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 () * 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.0001824/0.1465, allocations: 135.1 kB / 0.5658 GB, free: 2.395 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003125/0.1468, allocations: 87.95 kB / 0.5659 GB, free: 2.309 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/0.1468, allocations: 4 kB / 0.5659 GB, free: 2.305 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.147, allocations: 51.91 kB / 0.5659 GB, free: 2.254 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.1473, allocations: 8.609 kB / 0.5659 GB, free: 2.246 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006649/0.1479, allocations: 384.6 kB / 0.5663 GB, free: 1.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.1482, allocations: 0.6926 MB / 0.567 GB, free: 1.121 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.581e-05/0.1483, allocations: 16.61 kB / 0.567 GB, free: 1.105 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.1483, allocations: 11.44 kB / 0.567 GB, free: 1.094 MB / 430.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1483, allocations: 0 / 0.567 GB, free: 1.094 MB / 430.1 MB Notification: Performance of Templates: time 0.003505/0.1518, allocations: 1.073 MB / 0.5681 GB, free: 64 kB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)