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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, 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.0009914/0.0009914, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.222/1.222, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.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.584/1.584, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001328/0.001328, allocations: 65.7 kB / 0.6711 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1898, allocations: 114.6 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002227/0.192, allocations: 1.356 MB / 0.7843 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009519/0.193, allocations: 0.5927 MB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.193, allocations: 0 / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.193, allocations: 3.984 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.926e-05/0.1931, allocations: 0 / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.1935, allocations: 123.6 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.393e-05/0.1936, allocations: 31.8 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.515e-05/0.1936, allocations: 0 / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.816e-05/0.1936, allocations: 4 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.808e-05/0.1937, allocations: 11.92 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.1937, allocations: 4 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004331/0.1941, allocations: 343.3 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.1942, allocations: 8 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.1942, allocations: 11.92 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.1944, allocations: 147.9 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1944, allocations: 0 / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1944, allocations: 4 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.86e-06/0.1944, allocations: 0 / 0.7855 GB, free: 11.15 MB / 0.6075 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.0003617/0.1948, allocations: 363.3 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1948, allocations: 8.031 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.084e-05/0.1949, allocations: 34.75 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.801e-05/0.1949, allocations: 0.9375 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.195, allocations: 160.4 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.195, allocations: 8.375 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-06/0.195, allocations: 384 / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.798e-05/0.1951, allocations: 46.25 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1951, allocations: 7.875 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.1951, allocations: 0 / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1952, allocations: 0 / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.295e-05/0.1952, allocations: 19.92 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.1955, allocations: 244.9 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1957, allocations: 58.61 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.914e-05/0.1957, allocations: 16.86 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.1957, allocations: 3.984 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1957, allocations: 34.56 kB / 0.7865 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1958, allocations: 3.938 kB / 0.7865 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001415/0.1959, allocations: 57.59 kB / 0.7866 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.1959, allocations: 51.41 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.743e-05/0.196, allocations: 101.9 kB / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.196, allocations: 25.7 kB / 0.7867 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.1961, allocations: 92.02 kB / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.1961, allocations: 11.8 kB / 0.7868 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.1961, allocations: 17.72 kB / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.1962, allocations: 310.8 kB / 0.7871 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.1962, allocations: 15.98 kB / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/0.1963, allocations: 17.72 kB / 0.7872 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.503e-05/0.1963, allocations: 33.66 kB / 0.7872 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1963, allocations: 3.938 kB / 0.7872 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.846e-05/0.1964, allocations: 57.62 kB / 0.7873 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.1964, allocations: 8 kB / 0.7873 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.1965, allocations: 0 / 0.7873 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.1965, allocations: 0 / 0.7873 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.413e-05/0.1965, allocations: 11.98 kB / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.1965, allocations: 0 / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.194e-05/0.1966, allocations: 4.031 kB / 0.7873 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.1966, allocations: 4 kB / 0.7873 GB, free: 9.109 MB / 0.6075 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 5.77e-05/0.1966, allocations: 113.8 kB / 0.7874 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.1967, allocations: 7.906 kB / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.1968, allocations: 65.11 kB / 0.7875 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1968, allocations: 0 / 0.7875 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.1968, allocations: 128 / 0.7875 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1968, allocations: 0 / 0.7875 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.197, allocations: 173.5 kB / 0.7876 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.197, allocations: 0 / 0.7876 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-05/0.197, allocations: 8 kB / 0.7876 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.197, allocations: 0 / 0.7876 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.197, allocations: 0 / 0.7876 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.197, allocations: 0 / 0.7876 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.197, allocations: 4.406 kB / 0.7876 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.1971, allocations: 155.4 kB / 0.7878 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.1972, allocations: 89.09 kB / 0.7879 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.1972, allocations: 0 / 0.7879 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.873e-05/0.1973, allocations: 4 kB / 0.7879 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.031e-05/0.1973, allocations: 0 / 0.7879 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.1973, allocations: 4 kB / 0.7879 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.946e-05/0.1973, allocations: 75.28 kB / 0.788 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1973, allocations: 3.938 kB / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002305/0.1976, allocations: 23.98 kB / 0.788 GB, free: 8.289 MB / 0.6075 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.0003979/0.198, allocations: 0.7045 MB / 0.7887 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.558e-05/0.1981, allocations: 23.92 kB / 0.7887 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1981, allocations: 4 kB / 0.7887 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.869e-05/0.1981, allocations: 8 kB / 0.7887 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.1983, allocations: 4 kB / 0.7887 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.1987, allocations: 168.2 kB / 0.7889 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.1989, allocations: 0.6768 MB / 0.7895 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.223e-05/0.199, allocations: 7.984 kB / 0.7895 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.199, allocations: 11.44 kB / 0.7896 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.199, allocations: 4 kB / 0.7896 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8165/1.016, allocations: 1.296 MB / 0.7908 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/1.016, allocations: 221.2 kB / 0.791 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.658, allocations: 0 / 0.791 GB, free: 5.207 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)