Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.464/1.464, allocations: 252 MB / 267.6 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001041, allocations: 177.1 kB / 327.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.4 MB / 0.5783 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007694/0.0007694, allocations: 93.47 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004668, allocations: 8.656 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2335, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001272/0.2349, allocations: 0.9777 MB / 0.9018 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007998/0.2357, allocations: 0.5467 MB / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.2357, allocations: 0 / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.2358, allocations: 4 kB / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.495e-05/0.2358, allocations: 0 / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005383/0.2364, allocations: 107.6 kB / 0.9024 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.51e-05/0.2364, allocations: 11.92 kB / 0.9024 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.2365, allocations: 4 kB / 0.9024 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.015e-05/0.2365, allocations: 3.938 kB / 0.9024 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.934e-05/0.2366, allocations: 12 kB / 0.9025 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.338e-06/0.2366, allocations: 0 / 0.9025 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003878/0.237, allocations: 335.3 kB / 0.9028 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.943e-06/0.237, allocations: 0 / 0.9028 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.751e-05/0.237, allocations: 29.64 kB / 0.9028 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.2372, allocations: 100.1 kB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2372, allocations: 3.984 kB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2372, allocations: 0 / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.2372, allocations: 0 / 0.9029 GB, free: 61.79 MB / 0.6042 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.0003026/0.2375, allocations: 347.2 kB / 0.9032 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2376, allocations: 12.03 kB / 0.9032 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.2376, allocations: 0 / 0.9032 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.135e-05/0.2377, allocations: 163 kB / 0.9034 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.2377, allocations: 0 / 0.9034 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.2377, allocations: 4 kB / 0.9034 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.898e-05/0.2378, allocations: 37.62 kB / 0.9034 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2378, allocations: 0 / 0.9034 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.2379, allocations: 4 kB / 0.9034 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2379, allocations: 0 / 0.9034 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.371e-05/0.2379, allocations: 4 kB / 0.9034 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.238, allocations: 153.6 kB / 0.9036 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.074e-05/0.2381, allocations: 22.59 kB / 0.9036 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/0.2381, allocations: 8.922 kB / 0.9036 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.2381, allocations: 4 kB / 0.9036 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.2381, allocations: 38.5 kB / 0.9037 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2382, allocations: 8 kB / 0.9037 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001234/0.2383, allocations: 33.7 kB / 0.9037 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.2383, allocations: 55.39 kB / 0.9038 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.194e-05/0.2384, allocations: 97.86 kB / 0.9038 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.2384, allocations: 25.7 kB / 0.9039 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.672e-05/0.2384, allocations: 80.14 kB / 0.9039 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.2384, allocations: 7.844 kB / 0.904 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.2384, allocations: 256 / 0.904 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.435e-05/0.2385, allocations: 318.8 kB / 0.9043 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-06/0.2385, allocations: 4 kB / 0.9043 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-06/0.2385, allocations: 3.984 kB / 0.9043 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.575e-05/0.2385, allocations: 11.89 kB / 0.9043 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2386, allocations: 0 / 0.9043 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.413e-05/0.2386, allocations: 37.7 kB / 0.9043 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2386, allocations: 10.81 kB / 0.9043 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2386, allocations: 0 / 0.9043 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.2387, allocations: 4.094 kB / 0.9043 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.2388, allocations: 11.98 kB / 0.9043 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002418/0.2391, allocations: 0.5897 MB / 0.9049 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.2391, allocations: 3.953 kB / 0.9049 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.2391, allocations: 0 / 0.9049 GB, free: 59.48 MB / 0.6042 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 () * 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 (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 5.781e-05/0.2392, allocations: 114.9 kB / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-06/0.2392, allocations: 4 kB / 0.905 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.591e-05/0.2393, allocations: 48.8 kB / 0.9051 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2393, allocations: 0 / 0.9051 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2393, allocations: 0 / 0.9051 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.2393, allocations: 0 / 0.9051 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.242e-05/0.2394, allocations: 157.6 kB / 0.9052 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2394, allocations: 0 / 0.9052 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.272e-05/0.2395, allocations: 16.02 kB / 0.9052 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2395, allocations: 0 / 0.9052 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.2395, allocations: 4.031 kB / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001656/0.2397, allocations: 0.5859 MB / 0.9058 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2397, allocations: 4.031 kB / 0.9058 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.769e-05/0.2397, allocations: 61.12 kB / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.2397, allocations: 85.14 kB / 0.906 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.2398, allocations: 0 / 0.906 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.479e-05/0.2398, allocations: 0 / 0.906 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.2398, allocations: 7.953 kB / 0.906 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.2398, allocations: 3.938 kB / 0.906 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.737e-05/0.2398, allocations: 79.28 kB / 0.9061 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2398, allocations: 0 / 0.9061 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002148/0.2401, allocations: 15.98 kB / 0.9061 GB, free: 58.18 MB / 0.6042 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 () * 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 (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.0001339/0.2402, allocations: 111.3 kB / 0.9062 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001583/0.2404, allocations: 15.98 kB / 0.9062 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2404, allocations: 0 / 0.9062 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.939e-05/0.2405, allocations: 19.98 kB / 0.9062 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.2406, allocations: 2.031 kB / 0.9062 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.2409, allocations: 139 kB / 0.9063 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.377e-05/0.241, allocations: 0.677 MB / 0.907 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.223e-05/0.241, allocations: 7.438 kB / 0.907 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.241, allocations: 0 / 0.907 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of Templates: time 0.001883/0.2429, allocations: 0.6914 MB / 0.9077 GB, free: 56.45 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)