Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6936/0.6936, allocations: 128.7 MB / 144.5 MB, free: 1.391 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.00122/0.00122, allocations: 184.5 kB / 174.2 MB, free: 5.945 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.441/1.441, allocations: 205 MB / 408.9 MB, free: 9.73 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.001001/0.001001, allocations: 101.8 kB / 485.1 MB, free: 13.6 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 54.72 kB / 0.558 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1258, allocations: 75.48 MB / 0.6317 GB, free: 33.08 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002408/0.1282, allocations: 1.306 MB / 0.633 GB, free: 31.75 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000876/0.1292, allocations: 0.5846 MB / 0.6335 GB, free: 31.17 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.681e-05/0.1292, allocations: 0 / 0.6335 GB, free: 31.17 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.936e-05/0.1292, allocations: 0 / 0.6335 GB, free: 31.17 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.642e-05/0.1293, allocations: 3.938 kB / 0.6335 GB, free: 31.16 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.1298, allocations: 127.6 kB / 0.6337 GB, free: 31.04 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.371e-05/0.1298, allocations: 4 kB / 0.6337 GB, free: 31.04 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.1299, allocations: 0 / 0.6337 GB, free: 31.04 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.282e-05/0.1299, allocations: 4 kB / 0.6337 GB, free: 31.03 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.086e-05/0.13, allocations: 11.94 kB / 0.6337 GB, free: 31.02 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.13, allocations: 0 / 0.6337 GB, free: 31.02 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000409/0.1304, allocations: 351.2 kB / 0.634 GB, free: 30.68 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.1304, allocations: 0 / 0.634 GB, free: 30.68 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.062e-05/0.1304, allocations: 4 kB / 0.634 GB, free: 30.67 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.1307, allocations: 143.9 kB / 0.6342 GB, free: 30.53 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1307, allocations: 0 / 0.6342 GB, free: 30.53 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1307, allocations: 0 / 0.6342 GB, free: 30.53 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1307, allocations: 0 / 0.6342 GB, free: 30.53 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.00036/0.1311, allocations: 346.3 kB / 0.6345 GB, free: 30.14 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1311, allocations: 8.031 kB / 0.6345 GB, free: 30.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.1312, allocations: 4.938 kB / 0.6345 GB, free: 30.13 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.638e-05/0.1313, allocations: 160.4 kB / 0.6347 GB, free: 29.94 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1313, allocations: 4.375 kB / 0.6347 GB, free: 29.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.1313, allocations: 4.359 kB / 0.6347 GB, free: 29.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004941/0.1318, allocations: 66.16 kB / 0.6347 GB, free: 29.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1318, allocations: 4.188 kB / 0.6347 GB, free: 29.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1318, allocations: 3.938 kB / 0.6347 GB, free: 29.85 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1318, allocations: 7.938 kB / 0.6347 GB, free: 29.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003281/0.1322, allocations: 43.94 kB / 0.6348 GB, free: 29.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.1323, allocations: 145.7 kB / 0.6349 GB, free: 29.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.1327, allocations: 62.55 kB / 0.635 GB, free: 29.54 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.1327, allocations: 16.86 kB / 0.635 GB, free: 29.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.1329, allocations: 89.09 kB / 0.6351 GB, free: 29.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.1329, allocations: 34.56 kB / 0.6351 GB, free: 29.37 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1329, allocations: 0 / 0.6351 GB, free: 29.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.00071/0.1337, allocations: 121.5 kB / 0.6352 GB, free: 29.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.1337, allocations: 51.41 kB / 0.6353 GB, free: 29.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.782e-05/0.1337, allocations: 101.8 kB / 0.6354 GB, free: 29.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.1338, allocations: 25.7 kB / 0.6354 GB, free: 29.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.469e-05/0.1338, allocations: 80.14 kB / 0.6355 GB, free: 28.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.1338, allocations: 3.938 kB / 0.6355 GB, free: 28.96 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.1338, allocations: 17.88 kB / 0.6355 GB, free: 28.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.483e-05/0.1339, allocations: 314.8 kB / 0.6358 GB, free: 28.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.799e-05/0.134, allocations: 15.92 kB / 0.6358 GB, free: 28.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-05/0.1341, allocations: 15.98 kB / 0.6358 GB, free: 28.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.1342, allocations: 32.91 kB / 0.6359 GB, free: 28.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1342, allocations: 0 / 0.6359 GB, free: 28.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001765/0.1344, allocations: 57.58 kB / 0.6359 GB, free: 28.49 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1344, allocations: 12.03 kB / 0.6359 GB, free: 28.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1344, allocations: 3.938 kB / 0.6359 GB, free: 28.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1344, allocations: 0 / 0.6359 GB, free: 28.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000882/0.1353, allocations: 107.9 kB / 0.636 GB, free: 28.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.1375, allocations: 1.454 MB / 0.6375 GB, free: 26.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.868e-05/0.1375, allocations: 20.05 kB / 0.6375 GB, free: 26.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1376, allocations: 0 / 0.6375 GB, free: 26.77 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.202e-05/0.1376, allocations: 109.8 kB / 0.6376 GB, free: 26.65 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.1376, allocations: 4 kB / 0.6376 GB, free: 26.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.407e-05/0.1377, allocations: 7.125 kB / 0.6376 GB, free: 26.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1377, allocations: 0 / 0.6376 GB, free: 26.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.1377, allocations: 0 / 0.6376 GB, free: 26.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1377, allocations: 0 / 0.6376 GB, free: 26.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.71e-05/0.1377, allocations: 157.6 kB / 0.6377 GB, free: 26.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1378, allocations: 7.938 kB / 0.6377 GB, free: 26.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009102/0.1387, allocations: 123.8 kB / 0.6379 GB, free: 26.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1387, allocations: 4 kB / 0.6379 GB, free: 26.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.1387, allocations: 0 / 0.6379 GB, free: 26.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/0.1407, allocations: 1.442 MB / 0.6393 GB, free: 24.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1407, allocations: 4.094 kB / 0.6393 GB, free: 24.72 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.1411, allocations: 0.6435 MB / 0.6399 GB, free: 24.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.1411, allocations: 81.02 kB / 0.64 GB, free: 23.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.1412, allocations: 7.938 kB / 0.64 GB, free: 23.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.733e-05/0.1412, allocations: 3.938 kB / 0.64 GB, free: 23.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.1413, allocations: 7.984 kB / 0.64 GB, free: 23.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1413, allocations: 0 / 0.64 GB, free: 23.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.963e-05/0.1413, allocations: 75.28 kB / 0.6401 GB, free: 23.83 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1413, allocations: 4.094 kB / 0.6401 GB, free: 23.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002902/0.1416, allocations: 12 kB / 0.6401 GB, free: 23.81 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 0.0001045/0.1417, allocations: 99.25 kB / 0.6402 GB, free: 23.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.1428, allocations: 135.8 kB / 0.6403 GB, free: 23.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1428, allocations: 4 kB / 0.6403 GB, free: 23.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009849/0.1438, allocations: 135.9 kB / 0.6405 GB, free: 23.44 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.1439, allocations: 2.812 kB / 0.6405 GB, free: 23.44 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.1453, allocations: 346.9 kB / 0.6408 GB, free: 23.06 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.027e-05/0.1454, allocations: 0.6731 MB / 0.6414 GB, free: 22.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.604e-05/0.1454, allocations: 0 / 0.6414 GB, free: 22.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.456e-05/0.1455, allocations: 7.438 kB / 0.6414 GB, free: 22.35 MB / 442.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1455, allocations: 0 / 0.6414 GB, free: 22.35 MB / 442.7 MB Notification: Performance of Templates: time 0.002115/0.1476, allocations: 0.5014 MB / 0.6419 GB, free: 21.88 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)