Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.00152, allocations: 104.7 kB / 16.4 MB, free: 6 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.001486/0.001486, allocations: 192.6 kB / 17.34 MB, free: 5.582 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.814/0.814, allocations: 122.9 MB / 414.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 58.38 kB / 0.5684 GB, free: 28.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1431, allocations: 77.94 MB / 0.6446 GB, free: 8.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00246/0.1456, allocations: 1.264 MB / 0.6458 GB, free: 7.715 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.1467, allocations: 0.6152 MB / 0.6464 GB, free: 7.098 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.509e-05/0.1467, allocations: 0 / 0.6464 GB, free: 7.098 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.221e-05/0.1468, allocations: 3.984 kB / 0.6464 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.077e-05/0.1468, allocations: 11.88 kB / 0.6464 GB, free: 7.082 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006118/0.1474, allocations: 143.4 kB / 0.6466 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.995e-05/0.1475, allocations: 19.91 kB / 0.6466 GB, free: 6.922 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.1476, allocations: 4 kB / 0.6466 GB, free: 6.918 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.967e-05/0.1476, allocations: 11.94 kB / 0.6466 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.453e-05/0.1477, allocations: 8 kB / 0.6466 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.1477, allocations: 0 / 0.6466 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005368/0.1482, allocations: 343.3 kB / 0.6469 GB, free: 6.562 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.1483, allocations: 11.98 kB / 0.6469 GB, free: 6.551 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.326e-05/0.1483, allocations: 7.938 kB / 0.6469 GB, free: 6.543 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.1486, allocations: 147.5 kB / 0.6471 GB, free: 6.398 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1486, allocations: 0 / 0.6471 GB, free: 6.398 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1486, allocations: 0 / 0.6471 GB, free: 6.398 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1486, allocations: 0 / 0.6471 GB, free: 6.398 MB / 494.1 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.0004307/0.149, allocations: 363.1 kB / 0.6474 GB, free: 5.992 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1491, allocations: 16.03 kB / 0.6474 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.1491, allocations: 0.9375 kB / 0.6474 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.1492, allocations: 168.3 kB / 0.6476 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1492, allocations: 4.375 kB / 0.6476 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.1493, allocations: 4.375 kB / 0.6476 GB, free: 5.766 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.1494, allocations: 42.19 kB / 0.6477 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1494, allocations: 192 / 0.6477 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.1494, allocations: 7.938 kB / 0.6477 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1494, allocations: 3.938 kB / 0.6477 GB, free: 5.707 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.19e-05/0.1495, allocations: 11.98 kB / 0.6477 GB, free: 5.695 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.1496, allocations: 157.7 kB / 0.6478 GB, free: 5.492 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.1498, allocations: 42.56 kB / 0.6479 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.59e-05/0.1499, allocations: 16.86 kB / 0.6479 GB, free: 5.422 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1499, allocations: 3.938 kB / 0.6479 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1499, allocations: 34.64 kB / 0.6479 GB, free: 5.375 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1499, allocations: 8 kB / 0.6479 GB, free: 5.367 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005859/0.1505, allocations: 306.3 kB / 0.6482 GB, free: 5.016 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.1506, allocations: 51.41 kB / 0.6483 GB, free: 4.953 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.916e-05/0.1507, allocations: 93.86 kB / 0.6484 GB, free: 4.852 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1507, allocations: 33.69 kB / 0.6484 GB, free: 4.812 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.907e-05/0.1507, allocations: 80.14 kB / 0.6485 GB, free: 4.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.1507, allocations: 19.8 kB / 0.6485 GB, free: 4.711 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.1508, allocations: 21.72 kB / 0.6485 GB, free: 4.684 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.281e-05/0.1509, allocations: 322.8 kB / 0.6488 GB, free: 4.359 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.496e-05/0.1509, allocations: 8 kB / 0.6488 GB, free: 4.352 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.302e-05/0.1509, allocations: 11.94 kB / 0.6488 GB, free: 4.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.967e-05/0.151, allocations: 44.77 kB / 0.6489 GB, free: 4.293 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.151, allocations: 0 / 0.6489 GB, free: 4.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.381e-05/0.1511, allocations: 69.78 kB / 0.6489 GB, free: 4.219 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1511, allocations: 7.938 kB / 0.6489 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1511, allocations: 64 / 0.6489 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1512, allocations: 4 kB / 0.649 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.444e-05/0.1512, allocations: 20 kB / 0.649 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1512, allocations: 0 / 0.649 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.1513, allocations: 0 / 0.649 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.1513, allocations: 0 / 0.649 GB, free: 4.188 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 (7): * Single equations (assignments): 7 * 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.039e-05/0.1513, allocations: 118.7 kB / 0.6491 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.1514, allocations: 7.922 kB / 0.6491 GB, free: 4.055 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.1515, allocations: 69.66 kB / 0.6492 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1515, allocations: 0 / 0.6492 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1515, allocations: 4 kB / 0.6492 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1515, allocations: 0 / 0.6492 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.1518, allocations: 315.3 kB / 0.6495 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1518, allocations: 0 / 0.6495 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.298e-05/0.1519, allocations: 15.94 kB / 0.6495 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1519, allocations: 0 / 0.6495 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1519, allocations: 0 / 0.6495 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.1519, allocations: 4 kB / 0.6495 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1519, allocations: 0 / 0.6495 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.1521, allocations: 189.4 kB / 0.6497 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.1522, allocations: 85.14 kB / 0.6497 GB, free: 3.281 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.1522, allocations: 0 / 0.6497 GB, free: 3.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/0.1523, allocations: 3.984 kB / 0.6497 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.1523, allocations: 4 kB / 0.6498 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.1523, allocations: 4.188 kB / 0.6498 GB, free: 3.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.313e-05/0.1523, allocations: 83.34 kB / 0.6498 GB, free: 3.188 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1524, allocations: 0 / 0.6498 GB, free: 3.188 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.1526, allocations: 23.92 kB / 0.6499 GB, free: 3.164 MB / 494.1 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 () * Number of clocked 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 (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.0001716/0.1528, allocations: 131.1 kB / 0.65 GB, free: 3.027 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000108/0.1529, allocations: 35.92 kB / 0.65 GB, free: 2.992 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1529, allocations: 0 / 0.65 GB, free: 2.992 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.831e-05/0.1529, allocations: 16 kB / 0.65 GB, free: 2.977 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.1532, allocations: 15.88 kB / 0.65 GB, free: 2.961 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.1536, allocations: 196.6 kB / 0.6502 GB, free: 2.742 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.1538, allocations: 0.6846 MB / 0.6509 GB, free: 2.031 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.915e-05/0.1539, allocations: 4 kB / 0.6509 GB, free: 2.027 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.1539, allocations: 15.38 kB / 0.6509 GB, free: 2.012 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1539, allocations: 0 / 0.6509 GB, free: 2.012 MB / 494.1 MB Notification: Performance of Templates: time 0.00301/0.1569, allocations: 0.6616 MB / 0.6516 GB, free: 1.387 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)