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_m_flow.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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.366/1.366, allocations: 252 MB / 268 MB, free: 10.87 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.0009745/0.0009746, allocations: 183 kB / 327.6 MB, free: 2.102 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.529/1.529, allocations: 205.4 MB / 0.5786 GB, free: 20.2 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.0006733/0.0006732, allocations: 70.44 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003435, allocations: 12.97 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1792, allocations: 106.3 MB / 0.9015 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001102/0.1803, allocations: 0.9777 MB / 0.9024 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007987/0.1811, allocations: 0.5968 MB / 0.903 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.339e-05/0.1811, allocations: 4 kB / 0.903 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.281e-05/0.1812, allocations: 0 / 0.903 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.04e-05/0.1812, allocations: 0 / 0.903 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.1816, allocations: 121.7 kB / 0.9031 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.414e-05/0.1816, allocations: 11.94 kB / 0.9031 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.1817, allocations: 4 kB / 0.9031 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.483e-05/0.1817, allocations: 0 / 0.9031 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.893e-05/0.1818, allocations: 11.92 kB / 0.9031 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.1818, allocations: 4 kB / 0.9031 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003963/0.1822, allocations: 343.3 kB / 0.9035 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.1822, allocations: 0 / 0.9035 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.1822, allocations: 29.7 kB / 0.9035 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.1824, allocations: 96.05 kB / 0.9036 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1824, allocations: 0 / 0.9036 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.903e-06/0.1824, allocations: 0 / 0.9036 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.1824, allocations: 0 / 0.9036 GB, free: 61.34 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.0002872/0.1827, allocations: 349.3 kB / 0.9039 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1827, allocations: 12.03 kB / 0.9039 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.1828, allocations: 8.922 kB / 0.9039 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.365e-05/0.1829, allocations: 160.4 kB / 0.9041 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1829, allocations: 384 / 0.9041 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.1829, allocations: 4.375 kB / 0.9041 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.629e-05/0.183, allocations: 34.2 kB / 0.9041 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.183, allocations: 192 / 0.9041 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.183, allocations: 3.938 kB / 0.9041 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.183, allocations: 0 / 0.9041 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.227e-05/0.183, allocations: 7.984 kB / 0.9041 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001052/0.1831, allocations: 153.7 kB / 0.9043 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.023e-05/0.1832, allocations: 18.61 kB / 0.9043 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/0.1832, allocations: 16.91 kB / 0.9043 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.1832, allocations: 3.938 kB / 0.9043 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.252e-05/0.1833, allocations: 30.56 kB / 0.9044 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1833, allocations: 0 / 0.9044 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001144/0.1834, allocations: 49.64 kB / 0.9044 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.1834, allocations: 51.41 kB / 0.9045 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.411e-05/0.1835, allocations: 93.84 kB / 0.9045 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.152e-06/0.1835, allocations: 29.64 kB / 0.9046 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.234e-05/0.1835, allocations: 84.14 kB / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.1835, allocations: 7.844 kB / 0.9047 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-06/0.1835, allocations: 0 / 0.9047 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.3e-05/0.1836, allocations: 319.1 kB / 0.905 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.1836, allocations: 4 kB / 0.905 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-06/0.1836, allocations: 7.875 kB / 0.905 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.297e-05/0.1836, allocations: 12.86 kB / 0.905 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1836, allocations: 4 kB / 0.905 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.764e-05/0.1837, allocations: 41.69 kB / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.477e-06/0.1837, allocations: 4 kB / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1837, allocations: 3.938 kB / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1837, allocations: 4.078 kB / 0.905 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.1839, allocations: 16.02 kB / 0.9051 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002306/0.1841, allocations: 0.5898 MB / 0.9056 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.1842, allocations: 32 / 0.9056 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.1842, allocations: 4 kB / 0.9056 GB, free: 59 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 (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 4.977e-05/0.1842, allocations: 115.8 kB / 0.9057 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-06/0.1842, allocations: 4.094 kB / 0.9057 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.507e-05/0.1843, allocations: 48.8 kB / 0.9058 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1843, allocations: 4 kB / 0.9058 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1843, allocations: 0 / 0.9058 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1844, allocations: 0 / 0.9058 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.814e-05/0.1844, allocations: 153.5 kB / 0.9059 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1844, allocations: 4 kB / 0.906 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.206e-05/0.1845, allocations: 4 kB / 0.906 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1845, allocations: 4 kB / 0.906 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-06/0.1845, allocations: 8.016 kB / 0.906 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001666/0.1847, allocations: 0.5821 MB / 0.9065 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1847, allocations: 3.938 kB / 0.9065 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.14e-05/0.1848, allocations: 61.11 kB / 0.9066 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.601e-05/0.1848, allocations: 89.12 kB / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.1848, allocations: 4 kB / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.391e-05/0.1848, allocations: 0 / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.224e-05/0.1849, allocations: 3.938 kB / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.1849, allocations: 0 / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.63e-05/0.1849, allocations: 79.28 kB / 0.9068 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1849, allocations: 0 / 0.9068 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001825/0.1851, allocations: 8 kB / 0.9068 GB, free: 57.71 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 (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.000138/0.1852, allocations: 119.3 kB / 0.9069 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.1854, allocations: 23.92 kB / 0.9069 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1854, allocations: 0 / 0.9069 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.313e-05/0.1855, allocations: 23.86 kB / 0.9069 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.1856, allocations: 0 / 0.9069 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.1859, allocations: 137.1 kB / 0.9071 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.811e-05/0.186, allocations: 0.677 MB / 0.9077 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.086e-05/0.186, allocations: 7.438 kB / 0.9077 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.186, allocations: 0 / 0.9077 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.00176/0.1878, allocations: 0.6809 MB / 0.9084 GB, free: 55.98 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)