Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.528/1.528, allocations: 289.7 MB / 302.2 MB, free: 2.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 178.7 kB / 371.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008954/0.0008954, allocations: 90.91 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.066e-05/3.068e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.221, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6772/0.8983, allocations: 139.4 MB / 1.116 GB, free: 44.31 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/0.8985, allocations: 79.53 kB / 1.116 GB, free: 44.28 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.008406/0.907, allocations: 3.433 MB / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.543e-06/0.907, allocations: 0 / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.907, allocations: 0 / 1.119 GB, free: 42.27 MB / 0.7448 GB 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.0002057/0.9072, allocations: 336.5 kB / 1.12 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.9073, allocations: 14.91 kB / 1.12 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.9073, allocations: 1.719 kB / 1.12 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.11e-05/0.9074, allocations: 164.4 kB / 1.12 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.9074, allocations: 3.266 kB / 1.12 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.9074, allocations: 4 kB / 1.12 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.539e-05/0.9075, allocations: 33.64 kB / 1.12 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.9075, allocations: 4.656 kB / 1.12 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.9075, allocations: 0 / 1.12 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.9075, allocations: 0 / 1.12 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.236e-05/0.9076, allocations: 7.938 kB / 1.12 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.9077, allocations: 153.7 kB / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.131e-05/0.9078, allocations: 26.11 kB / 1.12 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.9078, allocations: 4.859 kB / 1.12 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.9078, allocations: 9.281 kB / 1.12 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.9079, allocations: 30.56 kB / 1.12 GB, free: 41.37 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.9079, allocations: 0 / 1.12 GB, free: 41.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001157/0.908, allocations: 46.19 kB / 1.12 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.908, allocations: 51.41 kB / 1.12 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.569e-05/0.9081, allocations: 85 kB / 1.12 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.9081, allocations: 33.64 kB / 1.12 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.658e-05/0.9081, allocations: 84.3 kB / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.9081, allocations: 5.344 kB / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.9081, allocations: 0 / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.386e-05/0.9082, allocations: 314.2 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.024e-05/0.9082, allocations: 4 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-06/0.9082, allocations: 2.938 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.36e-05/0.9082, allocations: 4.844 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.9083, allocations: 3.953 kB / 1.121 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.647e-05/0.9083, allocations: 38.39 kB / 1.121 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.9083, allocations: 7.328 kB / 1.121 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.9083, allocations: 7.938 kB / 1.121 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.9084, allocations: 0.5625 kB / 1.121 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.9085, allocations: 8.625 kB / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002235/0.9087, allocations: 0.5873 MB / 1.121 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.647e-05/0.9088, allocations: 0 / 1.121 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.9088, allocations: 8.734 kB / 1.121 GB, free: 40.05 MB / 0.7448 GB 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.9088, allocations: 105 kB / 1.121 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-06/0.9088, allocations: 0 / 1.121 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.771e-05/0.9089, allocations: 47.92 kB / 1.122 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.9089, allocations: 0.5156 kB / 1.122 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.909, allocations: 0 / 1.122 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.909, allocations: 0 / 1.122 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.87e-05/0.909, allocations: 157 kB / 1.122 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.909, allocations: 4.906 kB / 1.122 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.329e-05/0.9091, allocations: 11.52 kB / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.9091, allocations: 0 / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.9091, allocations: 0 / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00016/0.9093, allocations: 0.5838 MB / 1.122 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.9093, allocations: 7.547 kB / 1.122 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.024e-05/0.9094, allocations: 72.44 kB / 1.122 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.659e-05/0.9094, allocations: 77.11 kB / 1.122 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.9094, allocations: 0 / 1.122 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.301e-05/0.9094, allocations: 4 kB / 1.122 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.9094, allocations: 3.953 kB / 1.122 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.9095, allocations: 4.141 kB / 1.122 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.699e-05/0.9095, allocations: 86.72 kB / 1.123 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9095, allocations: 0 / 1.123 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00018/0.9097, allocations: 20.06 kB / 1.123 GB, free: 38.8 MB / 0.7448 GB 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001355/0.9098, allocations: 113.5 kB / 1.123 GB, free: 38.69 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000133/0.9099, allocations: 20.48 kB / 1.123 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.91, allocations: 0 / 1.123 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.276e-05/0.91, allocations: 15.31 kB / 1.123 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.956e-05/0.9101, allocations: 4 kB / 1.123 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001317/0.9103, allocations: 53.06 kB / 1.123 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.221e-05/0.9104, allocations: 0.6766 MB / 1.123 GB, free: 37.89 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.555e-05/0.9104, allocations: 4 kB / 1.123 GB, free: 37.89 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.03e-05/0.9104, allocations: 7.438 kB / 1.123 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.9104, allocations: 0 / 1.123 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of Templates: time 0.002113/0.9125, allocations: 415.3 kB / 1.124 GB, free: 37.66 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)