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.001182/0.001182, allocations: 103.9 kB / 16.52 MB, free: 6.27 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.001192/0.001192, allocations: 197 kB / 17.44 MB, free: 5.887 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.636/1.636, allocations: 222.9 MB / 241.1 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7522/0.7522, allocations: 115.3 MB / 406.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 59.91 kB / 493.6 MB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3843, allocations: 76.18 MB / 0.5564 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002353/0.3867, allocations: 1.3 MB / 0.5577 GB, free: 34.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009351/0.3877, allocations: 0.6011 MB / 0.5582 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.406e-05/0.3877, allocations: 0 / 0.5582 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.3877, allocations: 1.219 kB / 0.5582 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.474e-05/0.3878, allocations: 13.23 kB / 0.5583 GB, free: 34.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.3882, allocations: 118 kB / 0.5584 GB, free: 34.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.197e-05/0.3883, allocations: 5.641 kB / 0.5584 GB, free: 34.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.3883, allocations: 2.328 kB / 0.5584 GB, free: 34.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.15e-05/0.3883, allocations: 6.656 kB / 0.5584 GB, free: 34.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.298e-05/0.3884, allocations: 9.172 kB / 0.5584 GB, free: 34.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.3884, allocations: 0 / 0.5584 GB, free: 34.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004836/0.3889, allocations: 341.4 kB / 0.5587 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.064e-05/0.3889, allocations: 3.938 kB / 0.5587 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.3889, allocations: 3.656 kB / 0.5587 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.3891, allocations: 97.84 kB / 0.5588 GB, free: 34.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3891, allocations: 1.281 kB / 0.5588 GB, free: 34.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3891, allocations: 0 / 0.5588 GB, free: 34.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.3891, allocations: 3.938 kB / 0.5588 GB, free: 34.08 MB / 446.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.0003497/0.3895, allocations: 344.3 kB / 0.5591 GB, free: 33.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3895, allocations: 10.59 kB / 0.5592 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.3896, allocations: 6.094 kB / 0.5592 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.405e-05/0.3897, allocations: 162.4 kB / 0.5593 GB, free: 33.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.3897, allocations: 8.562 kB / 0.5593 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.3897, allocations: 5.562 kB / 0.5593 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.907e-05/0.3898, allocations: 32.75 kB / 0.5594 GB, free: 33.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3898, allocations: 1.312 kB / 0.5594 GB, free: 33.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.3898, allocations: 3.938 kB / 0.5594 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3898, allocations: 1.219 kB / 0.5594 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.56e-05/0.3899, allocations: 2.562 kB / 0.5594 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.39, allocations: 151.4 kB / 0.5595 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.148e-05/0.3901, allocations: 33.48 kB / 0.5595 GB, free: 33.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.3901, allocations: 10.17 kB / 0.5596 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.3901, allocations: 1.469 kB / 0.5596 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.354e-05/0.3901, allocations: 32.69 kB / 0.5596 GB, free: 33.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3901, allocations: 0 / 0.5596 GB, free: 33.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000138/0.3903, allocations: 55.02 kB / 0.5596 GB, free: 33.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.3903, allocations: 53.91 kB / 0.5597 GB, free: 33.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.254e-05/0.3904, allocations: 92.64 kB / 0.5598 GB, free: 32.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.3904, allocations: 27.08 kB / 0.5598 GB, free: 32.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.622e-05/0.3904, allocations: 84.08 kB / 0.5599 GB, free: 32.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.3904, allocations: 9.281 kB / 0.5599 GB, free: 32.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.3905, allocations: 17.81 kB / 0.5599 GB, free: 32.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.41e-05/0.3905, allocations: 314.3 kB / 0.5602 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.3905, allocations: 1.719 kB / 0.5602 GB, free: 32.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.167e-06/0.3906, allocations: 3.531 kB / 0.5602 GB, free: 32.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.959e-05/0.3906, allocations: 19.48 kB / 0.5602 GB, free: 32.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3906, allocations: 0 / 0.5602 GB, free: 32.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.233e-05/0.3907, allocations: 40.58 kB / 0.5603 GB, free: 32.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.3907, allocations: 5.5 kB / 0.5603 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3907, allocations: 3.938 kB / 0.5603 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.3907, allocations: 2.578 kB / 0.5603 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.3909, allocations: 7.531 kB / 0.5603 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002386/0.3911, allocations: 0.5866 MB / 0.5609 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.813e-05/0.3911, allocations: 1.844 kB / 0.5609 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.3912, allocations: 1.062 kB / 0.5609 GB, free: 31.89 MB / 446.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 4.769e-05/0.3912, allocations: 112.4 kB / 0.561 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/0.3912, allocations: 5.531 kB / 0.561 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.136e-05/0.3913, allocations: 49.61 kB / 0.561 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3913, allocations: 1.156 kB / 0.561 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3913, allocations: 0 / 0.561 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3913, allocations: 0.625 kB / 0.561 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.063e-05/0.3914, allocations: 158.5 kB / 0.5612 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3914, allocations: 1.562 kB / 0.5612 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.041e-05/0.3915, allocations: 10.08 kB / 0.5612 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3915, allocations: 0 / 0.5612 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.3915, allocations: 1.094 kB / 0.5612 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001828/0.3917, allocations: 0.5899 MB / 0.5618 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3917, allocations: 3.938 kB / 0.5618 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.801e-05/0.3918, allocations: 65.86 kB / 0.5618 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.3918, allocations: 79.5 kB / 0.5619 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.3918, allocations: 4.969 kB / 0.5619 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.479e-05/0.3918, allocations: 1.375 kB / 0.5619 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.3919, allocations: 5.766 kB / 0.5619 GB, free: 30.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.3919, allocations: 1.281 kB / 0.5619 GB, free: 30.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.976e-05/0.3919, allocations: 79.14 kB / 0.562 GB, free: 30.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3919, allocations: 1.281 kB / 0.562 GB, free: 30.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000201/0.3921, allocations: 15.75 kB / 0.562 GB, free: 30.68 MB / 446.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.0001374/0.3922, allocations: 111.4 kB / 0.5621 GB, free: 30.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.3924, allocations: 20.02 kB / 0.5621 GB, free: 30.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3924, allocations: 0.5312 kB / 0.5621 GB, free: 30.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.885e-05/0.3925, allocations: 14.62 kB / 0.5622 GB, free: 30.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.3926, allocations: 10 kB / 0.5622 GB, free: 30.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/0.3929, allocations: 134.9 kB / 0.5623 GB, free: 30.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.72e-05/0.393, allocations: 0.6738 MB / 0.563 GB, free: 29.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.164e-05/0.3931, allocations: 10.09 kB / 0.563 GB, free: 29.73 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3931, allocations: 0 / 0.563 GB, free: 29.73 MB / 446.1 MB Notification: Performance of Templates: time 0.002293/0.3954, allocations: 0.6865 MB / 0.5636 GB, free: 29.73 MB / 446.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)