Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001298/0.001298, allocations: 188.8 kB / 16.25 MB, free: 6.625 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.372/1.372, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 292.2 MB / 0.5485 GB, free: 13.66 MB / 462.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.001347/0.001347, allocations: 65.55 kB / 0.671 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2396, allocations: 114.6 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002758/0.2424, allocations: 1.316 MB / 0.7841 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009938/0.2434, allocations: 0.5888 MB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.2434, allocations: 4 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.2435, allocations: 0 / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.161e-05/0.2435, allocations: 3.938 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005983/0.2441, allocations: 126.5 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.525e-05/0.2442, allocations: 4 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.979e-05/0.2442, allocations: 7.938 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.792e-05/0.2443, allocations: 3.938 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.19e-05/0.2443, allocations: 7.984 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.2443, allocations: 4 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004867/0.2448, allocations: 343.4 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.2448, allocations: 3.938 kB / 0.7852 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.2449, allocations: 11.92 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.2452, allocations: 136 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2452, allocations: 0 / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2452, allocations: 0 / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.2452, allocations: 0 / 0.7853 GB, free: 11.37 MB / 0.6075 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.0004609/0.2456, allocations: 351.4 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.2457, allocations: 12.03 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.2458, allocations: 8.844 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.2459, allocations: 172.3 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.2459, allocations: 384 / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.2459, allocations: 4.375 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.2461, allocations: 30.27 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2461, allocations: 4.188 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.2461, allocations: 3.938 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.2461, allocations: 0 / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.631e-05/0.2461, allocations: 0 / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.2463, allocations: 157.7 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.162e-05/0.2464, allocations: 26.55 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.231e-05/0.2464, allocations: 8.859 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.2465, allocations: 0 / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.2465, allocations: 34.62 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2465, allocations: 0 / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001581/0.2467, allocations: 45.62 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.2467, allocations: 51.41 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.05e-05/0.2468, allocations: 97.86 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.2468, allocations: 29.64 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/0.2469, allocations: 80.14 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.2469, allocations: 7.891 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.2469, allocations: 17.72 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.2471, allocations: 315.1 kB / 0.7867 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.2471, allocations: 4 kB / 0.7867 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.346e-06/0.2471, allocations: 0 / 0.7867 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.941e-05/0.2472, allocations: 12.86 kB / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2472, allocations: 0 / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.983e-05/0.2472, allocations: 41.69 kB / 0.7868 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2473, allocations: 4 kB / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.2473, allocations: 3.938 kB / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2473, allocations: 96 / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.2475, allocations: 19.92 kB / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003972/0.2479, allocations: 0.586 MB / 0.7874 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.865e-05/0.2479, allocations: 0 / 0.7874 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.2479, allocations: 7.969 kB / 0.7874 GB, free: 9.012 MB / 0.6075 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.629e-05/0.248, allocations: 113.5 kB / 0.7875 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.248, allocations: 8 kB / 0.7875 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.2481, allocations: 48.75 kB / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2482, allocations: 0 / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.2482, allocations: 4 kB / 0.7876 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2482, allocations: 4 kB / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.2483, allocations: 153.6 kB / 0.7877 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2483, allocations: 0 / 0.7877 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.4e-05/0.2484, allocations: 8 kB / 0.7877 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2484, allocations: 0 / 0.7877 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.2484, allocations: 4 kB / 0.7877 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003604/0.2488, allocations: 0.586 MB / 0.7883 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2488, allocations: 3.938 kB / 0.7883 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.191e-05/0.2489, allocations: 61.11 kB / 0.7884 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.2489, allocations: 81.09 kB / 0.7884 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.249, allocations: 8.125 kB / 0.7884 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.392e-05/0.249, allocations: 0 / 0.7884 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.249, allocations: 3.938 kB / 0.7884 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.249, allocations: 0 / 0.7884 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.249, allocations: 79.28 kB / 0.7885 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.249, allocations: 0 / 0.7885 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002056/0.2493, allocations: 11.94 kB / 0.7885 GB, free: 7.719 MB / 0.6075 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.0002033/0.2495, allocations: 119.3 kB / 0.7887 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001754/0.2497, allocations: 19.92 kB / 0.7887 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2497, allocations: 0 / 0.7887 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.251e-05/0.2498, allocations: 11.98 kB / 0.7887 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.2499, allocations: 8 kB / 0.7887 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.2504, allocations: 110 kB / 0.7888 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.2506, allocations: 0.6768 MB / 0.7895 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.638e-05/0.2507, allocations: 0 / 0.7895 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.427e-05/0.2507, allocations: 7.438 kB / 0.7895 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2507, allocations: 0 / 0.7895 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of Templates: time 0.002632/0.2533, allocations: 461.4 kB / 0.7899 GB, free: 6.266 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)