Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_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_3.0.0_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.001218/0.001218, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001076/0.001076, allocations: 193.6 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.784/2.784, allocations: 472.6 MB / 0.7448 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 64.69 kB / 0.9115 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3838, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002615/0.3865, allocations: 1.31 MB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009841/0.3875, allocations: 0.586 MB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.813e-05/0.3875, allocations: 0 / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.3875, allocations: 3.984 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.326e-05/0.3876, allocations: 11.92 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.3881, allocations: 119.6 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.787e-05/0.3881, allocations: 11.94 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.3882, allocations: 3.984 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.106e-05/0.3882, allocations: 4 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.308e-05/0.3883, allocations: 3.938 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.3883, allocations: 0 / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004452/0.3887, allocations: 347.3 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.3888, allocations: 8 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.3888, allocations: 4 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.389, allocations: 140 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.389, allocations: 0 / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.266e-06/0.389, allocations: 4 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.389, allocations: 0 / 1.07 GB, free: 8.23 MB / 0.8262 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.0004044/0.3895, allocations: 355.4 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3895, allocations: 8.031 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.3895, allocations: 0.9375 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.3897, allocations: 168.3 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.3897, allocations: 4.375 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.3897, allocations: 4.375 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.3898, allocations: 38.23 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3898, allocations: 192 / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3898, allocations: 7.875 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3898, allocations: 0 / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.296e-05/0.3899, allocations: 4 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.39, allocations: 145.7 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.334e-05/0.3901, allocations: 34.53 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.3901, allocations: 8.859 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.3902, allocations: 4.062 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.3902, allocations: 30.56 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.3902, allocations: 0 / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001424/0.3903, allocations: 41.64 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.3904, allocations: 67.39 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.233e-05/0.3905, allocations: 93.86 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.3905, allocations: 25.7 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.515e-05/0.3905, allocations: 80.14 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.3905, allocations: 7.906 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.3906, allocations: 13.72 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3907, allocations: 310.8 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.3907, allocations: 8.109 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.817e-06/0.3907, allocations: 8 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.69e-05/0.3908, allocations: 16.86 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3908, allocations: 0 / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.301e-05/0.3908, allocations: 37.64 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3908, allocations: 4 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3908, allocations: 3.938 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3909, allocations: 0 / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.391, allocations: 11.98 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003355/0.3914, allocations: 0.5861 MB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.3914, allocations: 4.031 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.3914, allocations: 0 / 1.072 GB, free: 5.879 MB / 0.8262 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 6.954e-05/0.3915, allocations: 113.8 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-06/0.3915, allocations: 0 / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.3916, allocations: 48.86 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3916, allocations: 4 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3916, allocations: 0 / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3916, allocations: 3.984 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.3917, allocations: 153.6 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3917, allocations: 3.938 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.105e-05/0.3918, allocations: 11.98 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3918, allocations: 0 / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.3918, allocations: 0 / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002851/0.3921, allocations: 0.586 MB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3921, allocations: 7.875 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.486e-05/0.3922, allocations: 61.16 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.3923, allocations: 81.11 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.3923, allocations: 0 / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.341e-05/0.3923, allocations: 128 / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.3923, allocations: 7.938 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.3923, allocations: 0 / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.351e-05/0.3924, allocations: 83.27 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3924, allocations: 0 / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001884/0.3926, allocations: 12 kB / 1.073 GB, free: 4.586 MB / 0.8262 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.0001804/0.3927, allocations: 111.2 kB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001596/0.3929, allocations: 27.97 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3929, allocations: 0 / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.992e-05/0.393, allocations: 15.98 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.3932, allocations: 4 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.3935, allocations: 105.9 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.3938, allocations: 0.6768 MB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.558e-05/0.3938, allocations: 4.125 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.394e-05/0.3938, allocations: 7.438 kB / 1.074 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3938, allocations: 0 / 1.074 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of Templates: time 0.002547/0.3964, allocations: 456.7 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)