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.001007/0.001007, allocations: 110.8 kB / 16.38 MB, free: 6.008 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.00106/0.00106, allocations: 197.7 kB / 17.32 MB, free: 5.617 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.301/1.301, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.755/1.755, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001614/0.001614, allocations: 63.91 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.189, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002222/0.1913, allocations: 1.259 MB / 0.786 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008869/0.1922, allocations: 0.5838 MB / 0.7866 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.3e-05/0.1922, allocations: 4 kB / 0.7866 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.713e-05/0.1922, allocations: 0 / 0.7866 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.204e-05/0.1923, allocations: 3.984 kB / 0.7866 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.1928, allocations: 135.4 kB / 0.7867 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.922e-05/0.1928, allocations: 15.92 kB / 0.7868 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.1929, allocations: 4 kB / 0.7868 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.051e-05/0.1929, allocations: 7.922 kB / 0.7868 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.212e-05/0.193, allocations: 4 kB / 0.7868 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.193, allocations: 4 kB / 0.7868 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000477/0.1935, allocations: 343.3 kB / 0.7871 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.726e-06/0.1935, allocations: 0 / 0.7871 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.1935, allocations: 11.91 kB / 0.7871 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.1937, allocations: 139.7 kB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1937, allocations: 0 / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1937, allocations: 0 / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.1938, allocations: 0 / 0.7872 GB, free: 0.6875 MB / 0.6544 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.0003283/0.1941, allocations: 351.5 kB / 0.7876 GB, free: 300 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1941, allocations: 12.03 kB / 0.7876 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.456e-05/0.1942, allocations: 8.875 kB / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.067e-05/0.1943, allocations: 164.3 kB / 0.7878 GB, free: 76 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.1943, allocations: 384 / 0.7878 GB, free: 76 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-06/0.1943, allocations: 384 / 0.7878 GB, free: 76 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.234e-05/0.1944, allocations: 38.19 kB / 0.7878 GB, free: 32 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.1944, allocations: 192 / 0.7878 GB, free: 32 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.1944, allocations: 3.938 kB / 0.7878 GB, free: 28 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1944, allocations: 4 kB / 0.7878 GB, free: 24 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.371e-05/0.1944, allocations: 7.938 kB / 0.7878 GB, free: 16 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2902/0.4846, allocations: 150.4 kB / 0.7879 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.147e-05/0.4848, allocations: 22.36 kB / 0.788 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/0.4848, allocations: 9.922 kB / 0.788 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.4848, allocations: 2.094 kB / 0.788 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.4848, allocations: 30.56 kB / 0.788 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 2.054e-06/0.4848, allocations: 0 / 0.788 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001462/0.485, allocations: 48.27 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.895e-05/0.485, allocations: 53.47 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.627e-05/0.4851, allocations: 94.05 kB / 0.7882 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/0.4851, allocations: 30.48 kB / 0.7882 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.496e-05/0.4851, allocations: 81.77 kB / 0.7883 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.4851, allocations: 8.281 kB / 0.7883 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.4852, allocations: 12.41 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.088e-05/0.4852, allocations: 314.4 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.4853, allocations: 7.406 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.128e-05/0.4853, allocations: 2.625 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.78e-05/0.4853, allocations: 11.91 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4853, allocations: 0 / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.307e-05/0.4854, allocations: 41.56 kB / 0.7887 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.4854, allocations: 5.25 kB / 0.7887 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4854, allocations: 3.562 kB / 0.7887 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4854, allocations: 0 / 0.7887 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.4856, allocations: 10.69 kB / 0.7887 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002189/0.4858, allocations: 0.5888 MB / 0.7893 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.73e-05/0.4859, allocations: 2.625 kB / 0.7893 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.4859, allocations: 3.281 kB / 0.7893 GB, free: 47.36 MB / 0.6544 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.656e-05/0.4859, allocations: 112.4 kB / 0.7894 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-06/0.4859, allocations: 10.16 kB / 0.7894 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.89e-05/0.486, allocations: 48.88 kB / 0.7894 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.486, allocations: 1.266 kB / 0.7894 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.486, allocations: 0 / 0.7894 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.4861, allocations: 81.45 kB / 0.7895 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.4861, allocations: 0 / 0.7895 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.412e-05/0.4861, allocations: 0 / 0.7895 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.4861, allocations: 2.625 kB / 0.7895 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001326/0.4862, allocations: 135.2 kB / 0.7897 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 8.094e-05/0.4863, allocations: 222.8 kB / 0.7899 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.842e-05/0.4864, allocations: 3.031 kB / 0.7899 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.625e-05/0.4864, allocations: 81.25 kB / 0.79 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of Backend: time 4.51e-07/0.4864, allocations: 0 / 0.79 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005749/0.487, allocations: 161.1 kB / 0.7901 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003579/0.4873, allocations: 0.5453 MB / 0.7906 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.003007/0.4904, allocations: 1.106 MB / 0.7917 GB, free: 46.08 MB / 0.6544 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)