Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1971/0.2005, allocations: 80.84 MB / 0.6706 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.0026/0.2032, allocations: 1.277 MB / 0.6719 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008705/0.2041, allocations: 0.5024 MB / 0.6724 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.2041, allocations: 0 / 0.6724 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.237e-05/0.2041, allocations: 4 kB / 0.6724 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.403e-05/0.2042, allocations: 11.92 kB / 0.6724 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.2047, allocations: 123.5 kB / 0.6725 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.898e-05/0.2048, allocations: 19.81 kB / 0.6725 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.214e-05/0.2049, allocations: 7.984 kB / 0.6725 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.306e-05/0.2049, allocations: 11.98 kB / 0.6725 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.073e-05/0.205, allocations: 11.94 kB / 0.6726 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.205, allocations: 0 / 0.6726 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005372/0.2055, allocations: 347.4 kB / 0.6729 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.2056, allocations: 4 kB / 0.6729 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.364e-05/0.2056, allocations: 7.938 kB / 0.6729 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.2058, allocations: 139.6 kB / 0.673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2059, allocations: 0 / 0.673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2059, allocations: 0 / 0.673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2059, allocations: 3.938 kB / 0.673 GB, free: 15.54 MB / 0.5137 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.0004557/0.2063, allocations: 363.1 kB / 0.6734 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2064, allocations: 8.031 kB / 0.6734 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.2064, allocations: 4.938 kB / 0.6734 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.2065, allocations: 168.3 kB / 0.6736 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.2065, allocations: 384 / 0.6736 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.2066, allocations: 4.375 kB / 0.6736 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.2077, allocations: 221.4 kB / 0.6738 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2077, allocations: 0 / 0.6738 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2077, allocations: 7.984 kB / 0.6738 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2078, allocations: 0 / 0.6738 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009575/0.2087, allocations: 191.8 kB / 0.674 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.2091, allocations: 252.9 kB / 0.6742 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.2102, allocations: 226.3 kB / 0.6744 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.826e-05/0.2102, allocations: 28.84 kB / 0.6744 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004889/0.2107, allocations: 206.1 kB / 0.6746 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.2108, allocations: 30.56 kB / 0.6747 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.2108, allocations: 0 / 0.6747 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.001999/0.2128, allocations: 413.2 kB / 0.6751 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.2128, allocations: 51.41 kB / 0.6751 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.264e-05/0.2129, allocations: 97.86 kB / 0.6752 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.2129, allocations: 25.7 kB / 0.6752 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.213, allocations: 88.12 kB / 0.6753 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.213, allocations: 7.906 kB / 0.6753 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.2131, allocations: 21.66 kB / 0.6753 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2133, allocations: 322.8 kB / 0.6756 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.2135, allocations: 55.95 kB / 0.6757 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.2138, allocations: 69.66 kB / 0.6758 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/0.2142, allocations: 121.6 kB / 0.6759 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2142, allocations: 0 / 0.6759 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005319/0.2148, allocations: 149.5 kB / 0.676 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.2148, allocations: 4 kB / 0.676 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2148, allocations: 0 / 0.676 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.2148, allocations: 0 / 0.676 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.215, allocations: 27.97 kB / 0.6761 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.215, allocations: 8.062 kB / 0.6761 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.2152, allocations: 35.94 kB / 0.6761 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.2152, allocations: 4 kB / 0.6761 GB, free: 12.12 MB / 0.5137 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 9.258e-05/0.2153, allocations: 113.8 kB / 0.6762 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.2154, allocations: 4 kB / 0.6762 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.865e-05/0.2154, allocations: 15.48 kB / 0.6762 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2154, allocations: 0 / 0.6762 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.2154, allocations: 3.938 kB / 0.6762 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2154, allocations: 432 / 0.6762 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.2156, allocations: 161.6 kB / 0.6764 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.2156, allocations: 3.984 kB / 0.6764 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.2158, allocations: 31.97 kB / 0.6764 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.2158, allocations: 0 / 0.6764 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.2158, allocations: 4 kB / 0.6764 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.2158, allocations: 0 / 0.6764 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2159, allocations: 7.984 kB / 0.6764 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005429/0.2164, allocations: 243.3 kB / 0.6767 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.2165, allocations: 81.09 kB / 0.6767 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.2165, allocations: 4 kB / 0.6767 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.2167, allocations: 23.98 kB / 0.6768 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.2167, allocations: 3.984 kB / 0.6768 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.2167, allocations: 0 / 0.6768 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.944e-05/0.2167, allocations: 79.28 kB / 0.6768 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2168, allocations: 3.938 kB / 0.6769 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002317/0.217, allocations: 8 kB / 0.6769 GB, free: 11.24 MB / 0.5137 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 (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001251/0.2171, allocations: 103.2 kB / 0.677 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005235/0.2177, allocations: 119.8 kB / 0.6771 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2177, allocations: 4.062 kB / 0.6771 GB, free: 11 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.2179, allocations: 63.94 kB / 0.6771 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.2181, allocations: 0 / 0.6771 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006789/0.2188, allocations: 190.5 kB / 0.6773 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.2191, allocations: 0.6807 MB / 0.678 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.899e-05/0.2192, allocations: 8 kB / 0.678 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.185e-05/0.2193, allocations: 7.438 kB / 0.678 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.2193, allocations: 0 / 0.678 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of Templates: time 0.002773/0.2221, allocations: 0.543 MB / 0.6785 GB, free: 9.469 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)