Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6995/0.6995, allocations: 128.7 MB / 144.5 MB, free: 1.387 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 189.2 kB / 174.2 MB, free: 5.93 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.411/1.411, allocations: 205.1 MB / 408.9 MB, free: 9.68 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.001067/0.001067, allocations: 110.2 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 53.47 kB / 0.558 GB, free: 97.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1437, allocations: 75.47 MB / 0.6317 GB, free: 33.02 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002208/0.146, allocations: 1.306 MB / 0.633 GB, free: 31.7 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007812/0.1468, allocations: 0.5923 MB / 0.6335 GB, free: 31.11 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.664e-05/0.1468, allocations: 4 kB / 0.6335 GB, free: 31.1 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.1469, allocations: 0 / 0.6335 GB, free: 31.1 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.464e-05/0.1469, allocations: 0 / 0.6335 GB, free: 31.1 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.1474, allocations: 112.7 kB / 0.6337 GB, free: 30.99 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.161e-05/0.1475, allocations: 15.92 kB / 0.6337 GB, free: 30.98 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.1475, allocations: 4 kB / 0.6337 GB, free: 30.97 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.878e-05/0.1475, allocations: 7.984 kB / 0.6337 GB, free: 30.96 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.919e-05/0.1476, allocations: 7.938 kB / 0.6337 GB, free: 30.96 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.1476, allocations: 0 / 0.6337 GB, free: 30.96 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003921/0.148, allocations: 339.3 kB / 0.634 GB, free: 30.62 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.032e-05/0.148, allocations: 0 / 0.634 GB, free: 30.62 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.1481, allocations: 11.97 kB / 0.634 GB, free: 30.61 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.1483, allocations: 139.9 kB / 0.6342 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1483, allocations: 0 / 0.6342 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1483, allocations: 0 / 0.6342 GB, free: 30.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.1484, allocations: 4 kB / 0.6342 GB, free: 30.47 MB / 442.7 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.0003472/0.1487, allocations: 339.5 kB / 0.6345 GB, free: 30.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1488, allocations: 12.03 kB / 0.6345 GB, free: 30.08 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.1488, allocations: 4.938 kB / 0.6345 GB, free: 30.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.374e-05/0.1489, allocations: 160.4 kB / 0.6347 GB, free: 29.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1489, allocations: 384 / 0.6347 GB, free: 29.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.1489, allocations: 4.375 kB / 0.6347 GB, free: 29.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006941/0.1496, allocations: 118.1 kB / 0.6348 GB, free: 29.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.1496, allocations: 192 / 0.6348 GB, free: 29.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1496, allocations: 7.938 kB / 0.6348 GB, free: 29.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1496, allocations: 7.875 kB / 0.6348 GB, free: 29.74 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005299/0.1502, allocations: 91.88 kB / 0.6349 GB, free: 29.65 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.1503, allocations: 145.7 kB / 0.635 GB, free: 29.46 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/0.1509, allocations: 114.5 kB / 0.6351 GB, free: 29.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.1509, allocations: 12.92 kB / 0.6351 GB, free: 29.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.1511, allocations: 89.09 kB / 0.6352 GB, free: 29.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.1511, allocations: 34.55 kB / 0.6352 GB, free: 29.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.1511, allocations: 0 / 0.6352 GB, free: 29.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.001194/0.1523, allocations: 225.3 kB / 0.6355 GB, free: 28.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.1524, allocations: 55.41 kB / 0.6355 GB, free: 28.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.168e-05/0.1524, allocations: 93.86 kB / 0.6356 GB, free: 28.78 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.1524, allocations: 25.7 kB / 0.6356 GB, free: 28.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.133e-05/0.1525, allocations: 80.14 kB / 0.6357 GB, free: 28.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.1525, allocations: 7.938 kB / 0.6357 GB, free: 28.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.1525, allocations: 17.7 kB / 0.6357 GB, free: 28.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.126e-05/0.1526, allocations: 319 kB / 0.636 GB, free: 28.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.1527, allocations: 15.98 kB / 0.6361 GB, free: 28.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.65e-05/0.1528, allocations: 23.97 kB / 0.6361 GB, free: 28.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.153, allocations: 48.83 kB / 0.6361 GB, free: 28.22 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1531, allocations: 4 kB / 0.6361 GB, free: 28.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002343/0.1533, allocations: 77.56 kB / 0.6362 GB, free: 28.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1533, allocations: 6.344 kB / 0.6362 GB, free: 28.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1533, allocations: 3.938 kB / 0.6362 GB, free: 28.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1533, allocations: 0 / 0.6362 GB, free: 28.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.1545, allocations: 191.8 kB / 0.6364 GB, free: 27.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/0.1573, allocations: 1.618 MB / 0.638 GB, free: 26.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.388e-05/0.1574, allocations: 12.12 kB / 0.638 GB, free: 26.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.1574, allocations: 0 / 0.638 GB, free: 26.18 MB / 442.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 () * 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 5.42e-05/0.1574, allocations: 121.8 kB / 0.6381 GB, free: 26.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.1575, allocations: 0 / 0.6381 GB, free: 26.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.41e-05/0.1575, allocations: 3.125 kB / 0.6381 GB, free: 26.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.1575, allocations: 0 / 0.6381 GB, free: 26.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.32e-07/0.1575, allocations: 0 / 0.6381 GB, free: 26.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1575, allocations: 0 / 0.6381 GB, free: 26.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.642e-05/0.1576, allocations: 161.6 kB / 0.6383 GB, free: 25.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1576, allocations: 3.938 kB / 0.6383 GB, free: 25.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.1588, allocations: 203.8 kB / 0.6385 GB, free: 25.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1588, allocations: 0 / 0.6385 GB, free: 25.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.1588, allocations: 0 / 0.6385 GB, free: 25.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002602/0.1614, allocations: 1.618 MB / 0.64 GB, free: 23.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1614, allocations: 0 / 0.64 GB, free: 23.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004463/0.1619, allocations: 0.667 MB / 0.6407 GB, free: 23.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.676e-05/0.1619, allocations: 81.02 kB / 0.6408 GB, free: 23.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-06/0.1619, allocations: 7.969 kB / 0.6408 GB, free: 23.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.162, allocations: 11.98 kB / 0.6408 GB, free: 23.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.162, allocations: 0 / 0.6408 GB, free: 23.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.1621, allocations: 0 / 0.6408 GB, free: 23.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.262e-05/0.1621, allocations: 83.27 kB / 0.6409 GB, free: 22.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1621, allocations: 0 / 0.6409 GB, free: 22.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002994/0.1624, allocations: 8 kB / 0.6409 GB, free: 22.96 MB / 442.7 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 9.572e-05/0.1625, allocations: 115.2 kB / 0.641 GB, free: 22.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.164, allocations: 243.7 kB / 0.6412 GB, free: 22.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.164, allocations: 0 / 0.6412 GB, free: 22.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001452/0.1655, allocations: 227.8 kB / 0.6414 GB, free: 22.38 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.1656, allocations: 4 kB / 0.6414 GB, free: 22.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.1674, allocations: 450.8 kB / 0.6419 GB, free: 21.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.675e-05/0.1675, allocations: 0.6731 MB / 0.6425 GB, free: 21.19 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.794e-05/0.1675, allocations: 7.938 kB / 0.6425 GB, free: 21.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.1675, allocations: 11.42 kB / 0.6425 GB, free: 21.17 MB / 442.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1675, allocations: 0 / 0.6425 GB, free: 21.17 MB / 442.7 MB Notification: Performance of Templates: time 0.002117/0.1696, allocations: 0.554 MB / 0.6431 GB, free: 20.65 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)