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.005352/0.005352, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001217/0.001217, allocations: 192.9 kB / 16.67 MB, free: 5.52 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.357/1.357, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.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.401/1.401, allocations: 251.7 MB / 0.5094 GB, free: 408 kB / 430.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.001417/0.001417, allocations: 71.89 kB / 0.7258 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6257/0.6271, allocations: 104.7 MB / 0.828 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002321/0.6295, allocations: 1.26 MB / 0.8293 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0009663/0.6305, allocations: 0.5898 MB / 0.8298 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.6305, allocations: 0 / 0.8298 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.6305, allocations: 0 / 0.8298 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 4.655e-05/0.6306, allocations: 3.938 kB / 0.8298 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004874/0.6311, allocations: 139.4 kB / 0.83 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 5.021e-05/0.6311, allocations: 15.94 kB / 0.83 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 6.06e-05/0.6312, allocations: 3.984 kB / 0.83 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 2.524e-05/0.6312, allocations: 11.94 kB / 0.83 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 3.997e-05/0.6313, allocations: 4 kB / 0.83 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.6313, allocations: 0 / 0.83 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005287/0.6318, allocations: 339.4 kB / 0.8303 GB, free: 208 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.6318, allocations: 0 / 0.8303 GB, free: 208 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.6319, allocations: 11.88 kB / 0.8303 GB, free: 196 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.6321, allocations: 131.3 kB / 0.8305 GB, free: 68 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.6321, allocations: 0 / 0.8305 GB, free: 68 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6321, allocations: 0 / 0.8305 GB, free: 68 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.6322, allocations: 0 / 0.8305 GB, free: 68 kB / 0.6231 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.0005459/0.6327, allocations: 357.8 kB / 0.8308 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.6328, allocations: 12.03 kB / 0.8308 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.6328, allocations: 0.9375 kB / 0.8308 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.6329, allocations: 164.3 kB / 0.831 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.633, allocations: 384 / 0.831 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.633, allocations: 4.375 kB / 0.831 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.65e-05/0.6331, allocations: 34.2 kB / 0.831 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.6331, allocations: 4.172 kB / 0.831 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.6331, allocations: 3.938 kB / 0.831 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.6331, allocations: 3.984 kB / 0.831 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.686e-05/0.6332, allocations: 8 kB / 0.831 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.6333, allocations: 149.7 kB / 0.8312 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 6.302e-05/0.6334, allocations: 34.53 kB / 0.8312 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.817e-05/0.6334, allocations: 4.859 kB / 0.8312 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.6334, allocations: 0 / 0.8312 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.6335, allocations: 34.62 kB / 0.8312 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.6335, allocations: 4 kB / 0.8312 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.000161/0.6337, allocations: 49.48 kB / 0.8313 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.6337, allocations: 51.41 kB / 0.8313 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.322e-05/0.6338, allocations: 101.8 kB / 0.8314 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.6338, allocations: 25.7 kB / 0.8315 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.6338, allocations: 80.14 kB / 0.8315 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.6339, allocations: 7.938 kB / 0.8315 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.6339, allocations: 17.97 kB / 0.8316 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.634, allocations: 310.8 kB / 0.8319 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.634, allocations: 4 kB / 0.8319 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.135e-05/0.6341, allocations: 7.984 kB / 0.8319 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.954e-05/0.6341, allocations: 12.86 kB / 0.8319 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6341, allocations: 0 / 0.8319 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.161e-05/0.6342, allocations: 41.61 kB / 0.8319 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.6342, allocations: 4 kB / 0.8319 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.6342, allocations: 8.031 kB / 0.8319 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.6342, allocations: 3.938 kB / 0.8319 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.6344, allocations: 11.98 kB / 0.8319 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003679/0.6348, allocations: 0.5821 MB / 0.8325 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.6348, allocations: 0 / 0.8325 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.6348, allocations: 4.031 kB / 0.8325 GB, free: 13.71 MB / 0.6387 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 8.281e-05/0.6349, allocations: 113.9 kB / 0.8326 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.6349, allocations: 0 / 0.8326 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.635, allocations: 52.7 kB / 0.8327 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.635, allocations: 4 kB / 0.8327 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.635, allocations: 4 kB / 0.8327 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.635, allocations: 3.938 kB / 0.8327 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.6352, allocations: 153.6 kB / 0.8328 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6352, allocations: 4 kB / 0.8328 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.325e-05/0.6353, allocations: 7.984 kB / 0.8328 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.6353, allocations: 8.031 kB / 0.8329 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.6353, allocations: 0 / 0.8329 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003299/0.6356, allocations: 0.5782 MB / 0.8334 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6356, allocations: 3.938 kB / 0.8334 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.372e-05/0.6357, allocations: 73.09 kB / 0.8335 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.6357, allocations: 81.11 kB / 0.8336 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.6358, allocations: 0 / 0.8336 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.416e-05/0.6358, allocations: 0 / 0.8336 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.923e-05/0.6358, allocations: 7.938 kB / 0.8336 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.6358, allocations: 0 / 0.8336 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.202e-05/0.6359, allocations: 79.28 kB / 0.8337 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.6359, allocations: 0 / 0.8337 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001905/0.6361, allocations: 11.98 kB / 0.8337 GB, free: 12.41 MB / 0.6387 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.0001617/0.6362, allocations: 116.4 kB / 0.8338 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000168/0.6364, allocations: 19.92 kB / 0.8338 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.247e-06/0.6364, allocations: 4 kB / 0.8338 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 8.533e-05/0.6365, allocations: 15.98 kB / 0.8338 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.6367, allocations: 2.844 kB / 0.8338 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.637, allocations: 102.1 kB / 0.8339 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.6373, allocations: 0.6768 MB / 0.8346 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 1.481e-05/0.6373, allocations: 0 / 0.8346 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.568e-05/0.6373, allocations: 11.44 kB / 0.8346 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of SimCode: time 2.415e-06/0.6373, allocations: 0 / 0.8346 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of Templates: time 0.002381/0.6397, allocations: 458.7 kB / 0.835 GB, free: 10.99 MB / 0.6387 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)