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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005143/0.005143, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001187/0.001187, allocations: 191 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.1 MB / 222.5 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.513/1.513, allocations: 251.7 MB / 0.5094 GB, free: 3.016 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001603, allocations: 71.91 kB / 0.7258 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2329, allocations: 104.7 MB / 0.828 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002307/0.2352, allocations: 1.246 MB / 0.8293 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.2363, allocations: 0.5839 MB / 0.8298 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.2363, allocations: 4 kB / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.2363, allocations: 0 / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.528e-05/0.2364, allocations: 3.984 kB / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005024/0.2369, allocations: 135.4 kB / 0.83 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.603e-05/0.237, allocations: 11.94 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.237, allocations: 4 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.846e-05/0.237, allocations: 3.984 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.202e-05/0.2371, allocations: 7.938 kB / 0.83 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.2371, allocations: 0 / 0.83 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004781/0.2376, allocations: 355.2 kB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.032e-05/0.2376, allocations: 0 / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.882e-05/0.2376, allocations: 0 / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.2379, allocations: 147.6 kB / 0.8305 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2379, allocations: 0 / 0.8305 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2379, allocations: 0 / 0.8305 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2379, allocations: 0 / 0.8305 GB, free: 13.7 MB / 0.6544 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.00041/0.2383, allocations: 355.4 kB / 0.8308 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2384, allocations: 12.03 kB / 0.8308 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.2384, allocations: 4.938 kB / 0.8308 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.2385, allocations: 164.4 kB / 0.831 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.2386, allocations: 384 / 0.831 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.2386, allocations: 4.375 kB / 0.831 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.733e-05/0.2387, allocations: 30.27 kB / 0.831 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2387, allocations: 192 / 0.831 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.2387, allocations: 7.938 kB / 0.831 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2387, allocations: 0 / 0.831 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.756e-05/0.2387, allocations: 3.938 kB / 0.831 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.2389, allocations: 157.7 kB / 0.8312 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.526e-05/0.239, allocations: 18.67 kB / 0.8312 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.239, allocations: 8.859 kB / 0.8312 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.239, allocations: 0 / 0.8312 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.2391, allocations: 46.48 kB / 0.8313 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2391, allocations: 0 / 0.8313 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001398/0.2392, allocations: 45.58 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.2393, allocations: 51.41 kB / 0.8313 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.266e-05/0.2393, allocations: 97.86 kB / 0.8314 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.2394, allocations: 25.7 kB / 0.8315 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/0.2394, allocations: 84.12 kB / 0.8315 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.2394, allocations: 3.906 kB / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.2395, allocations: 13.72 kB / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2396, allocations: 315.1 kB / 0.8319 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.2396, allocations: 12 kB / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.876e-06/0.2396, allocations: 0 / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.187e-05/0.2396, allocations: 12.86 kB / 0.8319 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2397, allocations: 0 / 0.8319 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.232e-05/0.2397, allocations: 45.62 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.2397, allocations: 4 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2398, allocations: 3.938 kB / 0.8319 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.2398, allocations: 0 / 0.8319 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.2399, allocations: 16.08 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000376/0.2403, allocations: 0.5859 MB / 0.8325 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.767e-05/0.2404, allocations: 0 / 0.8325 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.2404, allocations: 4.031 kB / 0.8325 GB, free: 11.34 MB / 0.6544 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 (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.466e-05/0.2405, allocations: 117.7 kB / 0.8326 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-06/0.2405, allocations: 96 / 0.8326 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.2406, allocations: 48.81 kB / 0.8327 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.2406, allocations: 0 / 0.8327 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.2406, allocations: 4 kB / 0.8327 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2406, allocations: 0 / 0.8327 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.2408, allocations: 153.5 kB / 0.8328 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2408, allocations: 0 / 0.8328 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.467e-05/0.2408, allocations: 8 kB / 0.8328 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.2409, allocations: 3.984 kB / 0.8328 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.2409, allocations: 4 kB / 0.8328 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003168/0.2412, allocations: 0.5899 MB / 0.8334 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.2412, allocations: 3.938 kB / 0.8334 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.137e-05/0.2413, allocations: 61.16 kB / 0.8335 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.2413, allocations: 88.94 kB / 0.8336 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.2414, allocations: 4.125 kB / 0.8336 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.38e-05/0.2414, allocations: 4 kB / 0.8336 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.2414, allocations: 3.938 kB / 0.8336 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.2414, allocations: 0 / 0.8336 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.509e-05/0.2414, allocations: 79.28 kB / 0.8337 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.463e-06/0.2415, allocations: 0 / 0.8337 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001936/0.2417, allocations: 11.94 kB / 0.8337 GB, free: 10.04 MB / 0.6544 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 (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.0001806/0.2418, allocations: 115.3 kB / 0.8338 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001652/0.242, allocations: 23.98 kB / 0.8338 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.242, allocations: 0 / 0.8338 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.073e-05/0.2421, allocations: 11.98 kB / 0.8338 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.2423, allocations: 7.047 kB / 0.8338 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.2426, allocations: 102 kB / 0.8339 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.2429, allocations: 0.6769 MB / 0.8346 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.96e-05/0.2429, allocations: 0 / 0.8346 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.2429, allocations: 7.438 kB / 0.8346 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.2429, allocations: 0 / 0.8346 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of Templates: time 0.002817/0.2458, allocations: 464.8 kB / 0.835 GB, free: 8.621 MB / 0.6544 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)