Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",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.001081/0.001081, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.324/1.324, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.673/1.673, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001496/0.001496, allocations: 70.52 kB / 0.6716 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1884, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003254/0.1917, allocations: 2.103 MB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.1934, allocations: 1.217 MB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1936, allocations: 4 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003563/0.1939, allocations: 111.6 kB / 0.7868 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.52e-05/0.194, allocations: 47.59 kB / 0.7869 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006752/0.1947, allocations: 255.4 kB / 0.7871 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000322/0.1951, allocations: 319.3 kB / 0.7874 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.1952, allocations: 91.06 kB / 0.7875 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.1954, allocations: 111.6 kB / 0.7876 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.1955, allocations: 123.5 kB / 0.7877 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.357e-05/0.1956, allocations: 28 kB / 0.7878 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003315/0.1959, allocations: 223.7 kB / 0.788 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.196, allocations: 91.67 kB / 0.7881 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.1962, allocations: 151.2 kB / 0.7882 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005536/0.1967, allocations: 0.553 MB / 0.7887 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1967, allocations: 4 kB / 0.7888 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1967, allocations: 0 / 0.7888 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.1967, allocations: 0 / 0.7888 GB, free: 7.938 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001134/0.1979, allocations: 0.8049 MB / 0.7895 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1979, allocations: 8.031 kB / 0.7895 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.544e-05/0.198, allocations: 50.73 kB / 0.7896 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.903e-05/0.1981, allocations: 40.47 kB / 0.7896 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.1985, allocations: 320.4 kB / 0.7899 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.1985, allocations: 16.66 kB / 0.79 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.1985, allocations: 23.92 kB / 0.79 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005997/0.1991, allocations: 298.6 kB / 0.7903 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1992, allocations: 0 / 0.7903 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.1992, allocations: 8 kB / 0.7903 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1992, allocations: 8 kB / 0.7903 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006687/0.1999, allocations: 271.7 kB / 0.7905 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009075/0.2008, allocations: 0.6676 MB / 0.7912 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005415/0.2013, allocations: 230.6 kB / 0.7914 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003958/0.2018, allocations: 188.7 kB / 0.7916 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.2018, allocations: 4 kB / 0.7916 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.2018, allocations: 34.56 kB / 0.7916 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 2.685e-06/0.2018, allocations: 0 / 0.7916 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.001391/0.2032, allocations: 0.666 MB / 0.7923 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/0.2033, allocations: 144.5 kB / 0.7924 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.2037, allocations: 380.4 kB / 0.7928 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.2038, allocations: 29.7 kB / 0.7928 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.2039, allocations: 164.3 kB / 0.793 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.771e-05/0.2039, allocations: 43.44 kB / 0.793 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.236e-05/0.204, allocations: 45.7 kB / 0.793 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2042, allocations: 346.7 kB / 0.7934 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004556/0.2046, allocations: 239.9 kB / 0.7936 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004341/0.2051, allocations: 238.9 kB / 0.7938 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000956/0.206, allocations: 0.6875 MB / 0.7945 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2061, allocations: 0 / 0.7945 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001071/0.2071, allocations: 0.7269 MB / 0.7952 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.2072, allocations: 186.2 kB / 0.7954 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2073, allocations: 4 kB / 0.7954 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2073, allocations: 112 / 0.7954 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.2075, allocations: 31.91 kB / 0.7954 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.2075, allocations: 7.984 kB / 0.7954 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.2077, allocations: 47.64 kB / 0.7955 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.2077, allocations: 15.94 kB / 0.7955 GB, free: 0.5898 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * 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 0.0002083/0.208, allocations: 263.5 kB / 0.7957 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.957e-05/0.208, allocations: 27.72 kB / 0.7958 GB, free: 284 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.2081, allocations: 26.94 kB / 0.7958 GB, free: 256 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2081, allocations: 0 / 0.7958 GB, free: 256 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2081, allocations: 0 / 0.7958 GB, free: 256 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2081, allocations: 3.984 kB / 0.7958 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003328/0.2084, allocations: 349.2 kB / 0.7961 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2085, allocations: 0 / 0.7961 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.2086, allocations: 27.97 kB / 0.7962 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2086, allocations: 0 / 0.7962 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.2087, allocations: 15.98 kB / 0.7962 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2087, allocations: 0 / 0.7962 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2087, allocations: 0 / 0.7962 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009307/0.2096, allocations: 0.621 MB / 0.7968 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.362e-05/0.2097, allocations: 116.7 kB / 0.7969 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.2097, allocations: 8 kB / 0.7969 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.21, allocations: 27.97 kB / 0.7969 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.2101, allocations: 31.95 kB / 0.797 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.2101, allocations: 4 kB / 0.797 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002608/0.2104, allocations: 275 kB / 0.7972 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2104, allocations: 0 / 0.7972 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004472/0.2108, allocations: 104 kB / 0.7973 GB, free: 14.58 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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.001376/0.2122, allocations: 1.221 MB / 0.7985 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.2134, allocations: 0.84 MB / 0.7993 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2134, allocations: 0 / 0.7993 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004844/0.2139, allocations: 378 kB / 0.7997 GB, free: 12 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.2143, allocations: 70.27 kB / 0.7998 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00543/0.2198, allocations: 4.435 MB / 0.8041 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.2201, allocations: 0.7792 MB / 0.8049 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.402e-05/0.2202, allocations: 25.95 kB / 0.8049 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.2203, allocations: 91.39 kB / 0.805 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of SimCode: time 6.01e-07/0.2203, allocations: 0 / 0.805 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.2448, allocations: 8.662 MB / 0.8134 GB, free: 14 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.88/9.125, allocations: 4.266 kB / 0.8134 GB, free: 14 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)