Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 117.6 kB / 17.09 MB, free: 6.004 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.001767/0.001767, allocations: 192.7 kB / 18.02 MB, free: 5.086 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.409/1.409, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7217/0.7217, allocations: 115.3 MB / 407.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 69.88 kB / 0.5583 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1393, allocations: 76.17 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002317/0.1416, allocations: 1.242 MB / 0.6339 GB, free: 3.172 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009677/0.1426, allocations: 0.5803 MB / 0.6345 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.1427, allocations: 0 / 0.6345 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.1427, allocations: 0 / 0.6345 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.304e-05/0.1428, allocations: 7.875 kB / 0.6345 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005492/0.1433, allocations: 141.8 kB / 0.6347 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.725e-05/0.1434, allocations: 19.92 kB / 0.6347 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.1434, allocations: 4 kB / 0.6347 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.865e-05/0.1435, allocations: 4 kB / 0.6347 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.144e-05/0.1435, allocations: 0 / 0.6347 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.1435, allocations: 3.938 kB / 0.6347 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004749/0.144, allocations: 347.3 kB / 0.635 GB, free: 2.074 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.144, allocations: 3.938 kB / 0.635 GB, free: 2.07 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.1441, allocations: 0 / 0.635 GB, free: 2.07 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.1443, allocations: 143.6 kB / 0.6352 GB, free: 1.93 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1443, allocations: 0 / 0.6352 GB, free: 1.93 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1443, allocations: 0 / 0.6352 GB, free: 1.93 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1443, allocations: 4 kB / 0.6352 GB, free: 1.926 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.0003885/0.1447, allocations: 351.4 kB / 0.6355 GB, free: 1.531 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1448, allocations: 12.03 kB / 0.6355 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.1448, allocations: 0.9375 kB / 0.6355 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.1449, allocations: 164.3 kB / 0.6357 GB, free: 1.32 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.1449, allocations: 384 / 0.6357 GB, free: 1.32 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.145, allocations: 4.375 kB / 0.6357 GB, free: 1.316 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.499e-05/0.1451, allocations: 34.19 kB / 0.6357 GB, free: 1.277 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1451, allocations: 8.188 kB / 0.6357 GB, free: 1.27 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.1451, allocations: 3.938 kB / 0.6357 GB, free: 1.266 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1451, allocations: 0 / 0.6357 GB, free: 1.266 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.841e-05/0.1451, allocations: 8 kB / 0.6357 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.1453, allocations: 141.7 kB / 0.6359 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.755e-05/0.1453, allocations: 30.59 kB / 0.6359 GB, free: 1.031 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.814e-05/0.1454, allocations: 4.859 kB / 0.6359 GB, free: 1.023 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.1454, allocations: 3.984 kB / 0.6359 GB, free: 1.02 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.1454, allocations: 42.56 kB / 0.6359 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1454, allocations: 0 / 0.6359 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001382/0.1456, allocations: 45.62 kB / 0.636 GB, free: 0.918 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.1456, allocations: 51.41 kB / 0.636 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.161e-05/0.1457, allocations: 93.86 kB / 0.6361 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.1457, allocations: 29.7 kB / 0.6361 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.819e-05/0.1457, allocations: 80.39 kB / 0.6362 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.1458, allocations: 7.906 kB / 0.6362 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.1458, allocations: 13.72 kB / 0.6362 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1459, allocations: 318.8 kB / 0.6365 GB, free: 296 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.1459, allocations: 4 kB / 0.6365 GB, free: 292 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.675e-06/0.1459, allocations: 3.938 kB / 0.6366 GB, free: 288 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/0.146, allocations: 12.8 kB / 0.6366 GB, free: 272 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.146, allocations: 4 kB / 0.6366 GB, free: 268 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.86e-05/0.1461, allocations: 41.77 kB / 0.6366 GB, free: 220 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1461, allocations: 4 kB / 0.6366 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1461, allocations: 3.938 kB / 0.6366 GB, free: 212 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1461, allocations: 3.984 kB / 0.6366 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.1463, allocations: 15.94 kB / 0.6366 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003568/0.1466, allocations: 0.5821 MB / 0.6372 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.778e-05/0.1467, allocations: 0 / 0.6372 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1467, allocations: 8.156 kB / 0.6372 GB, free: 15.57 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.623e-05/0.1468, allocations: 118.4 kB / 0.6373 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-06/0.1468, allocations: 0 / 0.6373 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.1469, allocations: 40.83 kB / 0.6374 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1469, allocations: 3.984 kB / 0.6374 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1469, allocations: 4 kB / 0.6374 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1469, allocations: 0 / 0.6374 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.962e-05/0.147, allocations: 145.7 kB / 0.6375 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.147, allocations: 4 kB / 0.6375 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.598e-05/0.1471, allocations: 15.92 kB / 0.6375 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1471, allocations: 4 kB / 0.6375 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.1471, allocations: 0 / 0.6375 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002748/0.1474, allocations: 0.582 MB / 0.6381 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.1474, allocations: 7.922 kB / 0.6381 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.794e-05/0.1475, allocations: 69.25 kB / 0.6382 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.588e-05/0.1475, allocations: 85.05 kB / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.1475, allocations: 4 kB / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.423e-05/0.1476, allocations: 0 / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.1476, allocations: 3.938 kB / 0.6383 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.1476, allocations: 3.984 kB / 0.6383 GB, free: 14.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.081e-05/0.1476, allocations: 79.28 kB / 0.6383 GB, free: 14.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1476, allocations: 4.125 kB / 0.6383 GB, free: 14.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002014/0.1478, allocations: 15.94 kB / 0.6384 GB, free: 14.27 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.0001424/0.148, allocations: 103.2 kB / 0.6385 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.1482, allocations: 27.92 kB / 0.6385 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.1482, allocations: 0 / 0.6385 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.813e-05/0.1483, allocations: 8 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.0001498/0.1484, allocations: 5.406 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.0003229/0.1488, allocations: 139.8 kB / 0.6386 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.149, allocations: 0.6729 MB / 0.6393 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.535e-05/0.149, allocations: 11.44 kB / 0.6393 GB, free: 13.23 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.149, allocations: 0 / 0.6393 GB, free: 13.23 MB / 494.1 MB Notification: Performance of Templates: time 0.002169/0.1512, allocations: 0.6938 MB / 0.64 GB, free: 12.54 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)