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.001171/0.001171, allocations: 120.5 kB / 17.09 MB, free: 5.992 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.001063/0.001063, allocations: 196.6 kB / 18.02 MB, free: 5.066 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.362/1.362, allocations: 222.9 MB / 241.7 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.7512/0.7512, allocations: 115.3 MB / 407.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 66.45 kB / 0.5583 GB, free: 32.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1457, allocations: 76.18 MB / 0.6327 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002327/0.1481, allocations: 1.235 MB / 0.6339 GB, free: 3.188 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.1492, allocations: 0.5841 MB / 0.6345 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.536e-05/0.1492, allocations: 4 kB / 0.6345 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.922e-05/0.1492, allocations: 3.938 kB / 0.6345 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.292e-05/0.1493, allocations: 3.938 kB / 0.6345 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.1498, allocations: 139.4 kB / 0.6347 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.164e-05/0.1499, allocations: 15.94 kB / 0.6347 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.61e-05/0.15, allocations: 0 / 0.6347 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.567e-05/0.15, allocations: 7.984 kB / 0.6347 GB, free: 2.43 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.041e-05/0.1501, allocations: 3.984 kB / 0.6347 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.1501, allocations: 4 kB / 0.6347 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000523/0.1506, allocations: 339.3 kB / 0.635 GB, free: 2.09 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.452e-05/0.1506, allocations: 7.922 kB / 0.635 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.1507, allocations: 3.984 kB / 0.635 GB, free: 2.078 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.1509, allocations: 139.7 kB / 0.6351 GB, free: 1.941 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1509, allocations: 0 / 0.6351 GB, free: 1.941 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1509, allocations: 0 / 0.6351 GB, free: 1.941 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.151, allocations: 0 / 0.6351 GB, free: 1.941 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.0004282/0.1514, allocations: 351.5 kB / 0.6355 GB, free: 1.547 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1514, allocations: 12.03 kB / 0.6355 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.1515, allocations: 8.875 kB / 0.6355 GB, free: 1.527 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.1516, allocations: 164.3 kB / 0.6357 GB, free: 1.328 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.445e-06/0.1516, allocations: 384 / 0.6357 GB, free: 1.328 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.1516, allocations: 8.312 kB / 0.6357 GB, free: 1.32 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.806e-05/0.1517, allocations: 34.25 kB / 0.6357 GB, free: 1.281 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1518, allocations: 192 / 0.6357 GB, free: 1.281 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.1518, allocations: 11.92 kB / 0.6357 GB, free: 1.27 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1518, allocations: 0 / 0.6357 GB, free: 1.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.669e-05/0.1518, allocations: 4 kB / 0.6357 GB, free: 1.266 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.152, allocations: 149.7 kB / 0.6359 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.465e-05/0.1521, allocations: 30.55 kB / 0.6359 GB, free: 1.031 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.907e-05/0.1521, allocations: 4.859 kB / 0.6359 GB, free: 1.023 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.1521, allocations: 0 / 0.6359 GB, free: 1.023 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.1522, allocations: 34.62 kB / 0.6359 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1522, allocations: 0 / 0.6359 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001453/0.1523, allocations: 49.62 kB / 0.636 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.1524, allocations: 55.34 kB / 0.636 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.424e-05/0.1524, allocations: 97.86 kB / 0.6361 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.1525, allocations: 25.7 kB / 0.6361 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.727e-05/0.1525, allocations: 80.14 kB / 0.6362 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.1525, allocations: 3.906 kB / 0.6362 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.1526, allocations: 17.7 kB / 0.6362 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1527, allocations: 319.1 kB / 0.6365 GB, free: 300 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.1527, allocations: 4 kB / 0.6365 GB, free: 296 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.304e-06/0.1527, allocations: 3.938 kB / 0.6366 GB, free: 292 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.844e-05/0.1528, allocations: 12.86 kB / 0.6366 GB, free: 276 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1528, allocations: 0 / 0.6366 GB, free: 276 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.217e-05/0.1528, allocations: 41.69 kB / 0.6366 GB, free: 228 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1529, allocations: 9.344 kB / 0.6366 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1529, allocations: 3.938 kB / 0.6366 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1529, allocations: 96 / 0.6366 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.153, allocations: 12 kB / 0.6366 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003968/0.1535, allocations: 0.5821 MB / 0.6372 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.772e-05/0.1535, allocations: 0 / 0.6372 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-06/0.1535, allocations: 4.031 kB / 0.6372 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 7.843e-05/0.1536, allocations: 116.4 kB / 0.6373 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.144e-06/0.1536, allocations: 4.094 kB / 0.6373 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.1537, allocations: 48.75 kB / 0.6374 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1537, allocations: 4 kB / 0.6374 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1537, allocations: 0 / 0.6374 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.1537, allocations: 4 kB / 0.6374 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.1539, allocations: 149.6 kB / 0.6375 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1539, allocations: 4 kB / 0.6375 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.099e-05/0.1539, allocations: 4 kB / 0.6375 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.154, allocations: 4 kB / 0.6375 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.154, allocations: 7.969 kB / 0.6375 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003178/0.1543, allocations: 0.5859 MB / 0.6381 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1543, allocations: 3.938 kB / 0.6381 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.183e-05/0.1544, allocations: 69.11 kB / 0.6382 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.1544, allocations: 81.11 kB / 0.6383 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.1545, allocations: 8.109 kB / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.437e-05/0.1545, allocations: 0 / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/0.1545, allocations: 3.938 kB / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.1545, allocations: 0 / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.179e-05/0.1546, allocations: 79.28 kB / 0.6383 GB, free: 14.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1546, allocations: 0 / 0.6383 GB, free: 14.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002034/0.1548, allocations: 11.94 kB / 0.6384 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.0001772/0.1549, allocations: 111.3 kB / 0.6385 GB, free: 14.17 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.1551, allocations: 31.86 kB / 0.6385 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1551, allocations: 0 / 0.6385 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.45e-05/0.1552, allocations: 11.98 kB / 0.6385 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.0001403/0.1554, allocations: 4 kB / 0.6385 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.1558, allocations: 131.8 kB / 0.6386 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.156, allocations: 0.673 MB / 0.6393 GB, free: 13.26 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/0.1561, allocations: 11.44 kB / 0.6393 GB, free: 13.25 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1561, allocations: 0 / 0.6393 GB, free: 13.25 MB / 494.1 MB Notification: Performance of Templates: time 0.002372/0.1584, allocations: 0.7 MB / 0.64 GB, free: 12.55 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)