Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 110 kB / 16.41 MB, free: 6.484 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.001148/0.001148, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.241/1.241, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6772/0.6772, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 70.03 kB / 0.5577 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1456, allocations: 76.18 MB / 0.6321 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002237/0.1479, allocations: 1.235 MB / 0.6333 GB, free: 3.184 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.1489, allocations: 0.588 MB / 0.6339 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.493e-05/0.149, allocations: 0 / 0.6339 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.149, allocations: 0 / 0.6339 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.33e-05/0.1491, allocations: 0 / 0.6339 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.1496, allocations: 146 kB / 0.634 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.156e-05/0.1497, allocations: 15.92 kB / 0.634 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.673e-05/0.1497, allocations: 0 / 0.634 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.151e-05/0.1497, allocations: 7.984 kB / 0.634 GB, free: 2.43 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.373e-05/0.1498, allocations: 8 kB / 0.634 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.1498, allocations: 0 / 0.634 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005167/0.1503, allocations: 343.3 kB / 0.6344 GB, free: 2.086 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.018e-05/0.1504, allocations: 0 / 0.6344 GB, free: 2.086 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.1504, allocations: 7.922 kB / 0.6344 GB, free: 2.078 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.1506, allocations: 139.7 kB / 0.6345 GB, free: 1.941 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1507, allocations: 3.938 kB / 0.6345 GB, free: 1.938 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1507, allocations: 0 / 0.6345 GB, free: 1.938 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1507, allocations: 4 kB / 0.6345 GB, free: 1.934 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004689/0.1511, allocations: 355.4 kB / 0.6348 GB, free: 1.535 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1512, allocations: 8.031 kB / 0.6348 GB, free: 1.527 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.1512, allocations: 4.938 kB / 0.6349 GB, free: 1.523 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.1513, allocations: 164.3 kB / 0.635 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.1514, allocations: 4.375 kB / 0.635 GB, free: 1.32 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.1514, allocations: 4.312 kB / 0.635 GB, free: 1.316 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.781e-05/0.1515, allocations: 34.25 kB / 0.6351 GB, free: 1.277 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1515, allocations: 192 / 0.6351 GB, free: 1.277 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1515, allocations: 3.938 kB / 0.6351 GB, free: 1.273 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1515, allocations: 4 kB / 0.6351 GB, free: 1.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.711e-05/0.1515, allocations: 7.938 kB / 0.6351 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.1517, allocations: 145.7 kB / 0.6352 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.997e-05/0.1518, allocations: 30.59 kB / 0.6352 GB, free: 1.031 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.654e-05/0.1518, allocations: 4.859 kB / 0.6352 GB, free: 1.023 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.1518, allocations: 0 / 0.6352 GB, free: 1.023 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.1518, allocations: 34.62 kB / 0.6353 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1518, allocations: 4 kB / 0.6353 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001253/0.152, allocations: 45.58 kB / 0.6353 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.152, allocations: 55.39 kB / 0.6354 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.725e-05/0.1521, allocations: 93.86 kB / 0.6355 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.1521, allocations: 25.7 kB / 0.6355 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.1521, allocations: 80.14 kB / 0.6356 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.1521, allocations: 7.906 kB / 0.6356 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.1522, allocations: 17.97 kB / 0.6356 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.874e-05/0.1523, allocations: 314.8 kB / 0.6359 GB, free: 304 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.1523, allocations: 4 kB / 0.6359 GB, free: 300 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-06/0.1523, allocations: 0 / 0.6359 GB, free: 300 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.722e-05/0.1523, allocations: 20.8 kB / 0.6359 GB, free: 276 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1523, allocations: 0 / 0.6359 GB, free: 276 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.6e-05/0.1524, allocations: 41.64 kB / 0.636 GB, free: 228 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.1524, allocations: 4 kB / 0.636 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1524, allocations: 8.031 kB / 0.636 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1524, allocations: 0 / 0.636 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.1526, allocations: 11.98 kB / 0.636 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000428/0.153, allocations: 0.5782 MB / 0.6365 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/0.153, allocations: 4.031 kB / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.1531, allocations: 0 / 0.6365 GB, free: 15.59 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.531e-05/0.1531, allocations: 122.4 kB / 0.6367 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-06/0.1531, allocations: 0 / 0.6367 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.1533, allocations: 40.83 kB / 0.6367 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1533, allocations: 4 kB / 0.6367 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1533, allocations: 3.984 kB / 0.6367 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1533, allocations: 0 / 0.6367 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.51e-05/0.1534, allocations: 149.6 kB / 0.6368 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1534, allocations: 7.984 kB / 0.6369 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.917e-05/0.1535, allocations: 11.98 kB / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1535, allocations: 4.031 kB / 0.6369 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.1535, allocations: 3.938 kB / 0.6369 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003187/0.1538, allocations: 0.5898 MB / 0.6375 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1538, allocations: 3.938 kB / 0.6375 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.708e-05/0.1539, allocations: 69.25 kB / 0.6375 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.169e-05/0.154, allocations: 81.11 kB / 0.6376 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.154, allocations: 0 / 0.6376 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.364e-05/0.154, allocations: 0 / 0.6376 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.154, allocations: 3.938 kB / 0.6376 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.154, allocations: 0 / 0.6376 GB, free: 14.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.3e-05/0.1541, allocations: 87.27 kB / 0.6377 GB, free: 14.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1541, allocations: 0 / 0.6377 GB, free: 14.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000185/0.1543, allocations: 11.94 kB / 0.6377 GB, free: 14.29 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001576/0.1544, allocations: 119.3 kB / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.1546, allocations: 19.98 kB / 0.6378 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1546, allocations: 3.938 kB / 0.6378 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.778e-05/0.1547, allocations: 12 kB / 0.6378 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.1548, allocations: 6.438 kB / 0.6379 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.1551, allocations: 106.2 kB / 0.638 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.1554, allocations: 0.6767 MB / 0.6386 GB, free: 13.28 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.581e-05/0.1554, allocations: 4 kB / 0.6386 GB, free: 13.28 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.182e-05/0.1554, allocations: 7.438 kB / 0.6386 GB, free: 13.27 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1554, allocations: 0 / 0.6386 GB, free: 13.27 MB / 494.1 MB Notification: Performance of Templates: time 0.002154/0.1576, allocations: 460 kB / 0.6391 GB, free: 12.83 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)