Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 107.6 kB / 16.37 MB, free: 6.258 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.001702/0.001702, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.3/1.3, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.759/1.759, allocations: 292.3 MB / 0.5496 GB, free: 17.68 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.001518/0.001518, allocations: 67.91 kB / 0.6729 GB, free: 5.793 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1863, allocations: 114.5 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002257/0.1886, allocations: 1.291 MB / 0.786 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008948/0.1895, allocations: 0.5916 MB / 0.7866 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.427e-05/0.1895, allocations: 0 / 0.7866 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.1896, allocations: 3.938 kB / 0.7866 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.238e-05/0.1896, allocations: 3.938 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005276/0.1902, allocations: 147.4 kB / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.45e-05/0.1902, allocations: 27.86 kB / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.1903, allocations: 4 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.923e-05/0.1903, allocations: 4 kB / 0.7868 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.443e-05/0.1904, allocations: 19.92 kB / 0.7868 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.1904, allocations: 4 kB / 0.7868 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004849/0.1909, allocations: 343.3 kB / 0.7872 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.1909, allocations: 0 / 0.7872 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.1909, allocations: 7.938 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.1912, allocations: 155.6 kB / 0.7873 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1912, allocations: 0 / 0.7873 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1912, allocations: 0 / 0.7873 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.984e-06/0.1912, allocations: 0 / 0.7873 GB, free: 0.5312 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000378/0.1916, allocations: 363.4 kB / 0.7877 GB, free: 128 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1916, allocations: 8.031 kB / 0.7877 GB, free: 120 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.1916, allocations: 4.844 kB / 0.7877 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3136/0.5052, allocations: 160.9 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.5053, allocations: 6.594 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.5053, allocations: 384 / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.5054, allocations: 42.83 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.5055, allocations: 0.9375 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.5055, allocations: 0.625 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5055, allocations: 0 / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.548e-05/0.5055, allocations: 21.91 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/0.5058, allocations: 246.5 kB / 0.7881 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.5061, allocations: 50.05 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/0.5061, allocations: 21.08 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.5061, allocations: 2.625 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.5062, allocations: 36.75 kB / 0.7882 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.5062, allocations: 0 / 0.7882 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.000163/0.5063, allocations: 58.41 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/0.5064, allocations: 54.41 kB / 0.7883 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.446e-05/0.5064, allocations: 98.3 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.5064, allocations: 25.7 kB / 0.7885 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.5064, allocations: 85.95 kB / 0.7885 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.012e-05/0.5065, allocations: 13.75 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.5065, allocations: 17.56 kB / 0.7886 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.523e-05/0.5066, allocations: 314.8 kB / 0.7889 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.5066, allocations: 9.406 kB / 0.7889 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.5066, allocations: 27.8 kB / 0.7889 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.207e-05/0.5067, allocations: 34.19 kB / 0.7889 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5067, allocations: 3.938 kB / 0.7889 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.586e-05/0.5067, allocations: 58.17 kB / 0.789 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.5068, allocations: 10.34 kB / 0.789 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.5068, allocations: 0.5938 kB / 0.789 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.5068, allocations: 3.594 kB / 0.789 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.456e-05/0.5068, allocations: 6.594 kB / 0.789 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.5069, allocations: 4.156 kB / 0.789 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.619e-05/0.5069, allocations: 11.77 kB / 0.789 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.5069, allocations: 2.812 kB / 0.789 GB, free: 47.71 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.507, allocations: 109 kB / 0.7891 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.507, allocations: 12.81 kB / 0.7892 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.5071, allocations: 57.77 kB / 0.7892 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.5071, allocations: 0 / 0.7892 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5071, allocations: 3.469 kB / 0.7892 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.564e-05/0.5071, allocations: 77.11 kB / 0.7893 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.5072, allocations: 2.594 kB / 0.7893 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.726e-05/0.5072, allocations: 1 kB / 0.7893 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.5072, allocations: 6.062 kB / 0.7893 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.585e-05/0.5073, allocations: 132.2 kB / 0.7894 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 8.42e-05/0.5074, allocations: 227.6 kB / 0.7896 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.206e-05/0.5074, allocations: 13 kB / 0.7897 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.723e-05/0.5075, allocations: 84.52 kB / 0.7897 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of Backend: time 4.7e-07/0.5075, allocations: 1.031 kB / 0.7897 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004865/0.508, allocations: 149.9 kB / 0.7899 GB, free: 47 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0002741/0.5082, allocations: 0.5558 MB / 0.7904 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of Templates: time 0.003131/0.5114, allocations: 1.154 MB / 0.7915 GB, free: 46.42 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)