Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.789/1.789, allocations: 288.4 MB / 304.3 MB, free: 8.137 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.001011/0.001011, allocations: 186.9 kB / 372.9 MB, free: 10.13 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.275/1.275, allocations: 205.4 MB / 0.6316 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007716/0.0007716, allocations: 98.34 kB / 0.745 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003565, allocations: 16.53 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.179, allocations: 115.3 MB / 0.9807 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001276/0.1803, allocations: 0.9745 MB / 0.9817 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007633/0.1811, allocations: 0.5308 MB / 0.9822 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.866e-05/0.1812, allocations: 4 kB / 0.9822 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.244e-05/0.1812, allocations: 0 / 0.9822 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.676e-05/0.1812, allocations: 0 / 0.9822 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.1816, allocations: 117 kB / 0.9823 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.523e-05/0.1817, allocations: 11.92 kB / 0.9823 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.1817, allocations: 0 / 0.9823 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.863e-05/0.1818, allocations: 11.98 kB / 0.9823 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.048e-05/0.1818, allocations: 3.938 kB / 0.9823 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.1818, allocations: 8 kB / 0.9824 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003623/0.1822, allocations: 331.3 kB / 0.9827 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.847e-06/0.1822, allocations: 3.984 kB / 0.9827 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.1823, allocations: 33.64 kB / 0.9827 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1824, allocations: 92.11 kB / 0.9828 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1824, allocations: 0 / 0.9828 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1824, allocations: 0 / 0.9828 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.1824, allocations: 0 / 0.9828 GB, free: 25.2 MB / 0.6198 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.0003095/0.1828, allocations: 352.5 kB / 0.9831 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1828, allocations: 8.031 kB / 0.9831 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.1828, allocations: 8.875 kB / 0.9831 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.258e-05/0.1829, allocations: 168.3 kB / 0.9833 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1829, allocations: 384 / 0.9833 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.183, allocations: 4.375 kB / 0.9833 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.468e-05/0.1831, allocations: 34.19 kB / 0.9833 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.1831, allocations: 192 / 0.9833 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1831, allocations: 7.938 kB / 0.9834 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1831, allocations: 0 / 0.9834 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.245e-05/0.1831, allocations: 0 / 0.9834 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.1832, allocations: 157.7 kB / 0.9835 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.396e-05/0.1833, allocations: 22.61 kB / 0.9835 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.1833, allocations: 12.86 kB / 0.9835 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.1833, allocations: 3.984 kB / 0.9835 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.281e-05/0.1834, allocations: 30.56 kB / 0.9836 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1834, allocations: 4 kB / 0.9836 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001358/0.1835, allocations: 49.62 kB / 0.9836 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.972e-05/0.1835, allocations: 51.41 kB / 0.9837 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.378e-05/0.1836, allocations: 97.8 kB / 0.9838 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.1836, allocations: 25.7 kB / 0.9838 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.341e-05/0.1836, allocations: 80.14 kB / 0.9839 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.1837, allocations: 7.906 kB / 0.9839 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/0.1837, allocations: 0 / 0.9839 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.503e-05/0.1837, allocations: 315.1 kB / 0.9842 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.172e-05/0.1837, allocations: 7.984 kB / 0.9842 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.593e-06/0.1837, allocations: 3.938 kB / 0.9842 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.502e-05/0.1838, allocations: 16.86 kB / 0.9842 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1838, allocations: 0 / 0.9842 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.696e-05/0.1838, allocations: 37.69 kB / 0.9842 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.1839, allocations: 4 kB / 0.9842 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.1839, allocations: 0 / 0.9842 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1839, allocations: 3.938 kB / 0.9842 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.184, allocations: 16.08 kB / 0.9843 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002186/0.1842, allocations: 0.586 MB / 0.9848 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.736e-05/0.1843, allocations: 4.031 kB / 0.9848 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.1843, allocations: 0 / 0.9848 GB, free: 22.86 MB / 0.6198 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 4.718e-05/0.1843, allocations: 117.8 kB / 0.9849 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-06/0.1844, allocations: 4.094 kB / 0.9849 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.98e-05/0.1844, allocations: 40.83 kB / 0.985 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1844, allocations: 4 kB / 0.985 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1845, allocations: 0 / 0.985 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.1845, allocations: 88.94 kB / 0.9851 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-06/0.1845, allocations: 0 / 0.9851 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.401e-05/0.1845, allocations: 3.938 kB / 0.9851 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.1845, allocations: 3.938 kB / 0.9851 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001284/0.1847, allocations: 133.9 kB / 0.9852 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 7.78e-05/0.1847, allocations: 218.8 kB / 0.9854 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.638e-05/0.1848, allocations: 4.031 kB / 0.9854 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.471e-05/0.1848, allocations: 79.27 kB / 0.9855 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of Backend: time 2.21e-07/0.1848, allocations: 4.219 kB / 0.9855 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005025/0.1853, allocations: 154.2 kB / 0.9857 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of SimCode: time 0.000405/0.1857, allocations: 0.5706 MB / 0.9862 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of Templates: time 0.002831/0.1886, allocations: 1.077 MB / 0.9873 GB, free: 20.3 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)