Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8163/0.8163, allocations: 143.3 MB / 158.3 MB, free: 5.797 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 179.7 kB / 191.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 223.2 MB / 447.7 MB, free: 4.801 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 88.31 kB / 0.5187 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002698/0.002698, allocations: 269.1 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.0004444, allocations: 20.97 kB / 0.6929 GB, free: 59.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1841, allocations: 82.8 MB / 0.7738 GB, free: 13.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.595/0.7792, allocations: 113 MB / 0.8841 GB, free: 33.06 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003672/0.7797, allocations: 98.33 kB / 0.8842 GB, free: 33.06 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02097/0.8006, allocations: 6.959 MB / 0.891 GB, free: 32.39 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.455e-06/0.8007, allocations: 0 / 0.891 GB, free: 32.39 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.056e-05/0.8007, allocations: 15.22 kB / 0.891 GB, free: 32.38 MB / 0.5417 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.00138/0.8021, allocations: 0.7797 MB / 0.8918 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.8022, allocations: 9.062 kB / 0.8918 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.8023, allocations: 53.72 kB / 0.8919 GB, free: 31.67 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.8024, allocations: 31.25 kB / 0.8919 GB, free: 31.65 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/0.8029, allocations: 321 kB / 0.8922 GB, free: 31.41 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.8029, allocations: 20.56 kB / 0.8922 GB, free: 31.41 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.803, allocations: 15.16 kB / 0.8922 GB, free: 31.41 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006522/0.8036, allocations: 309.7 kB / 0.8925 GB, free: 31.37 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.8036, allocations: 0 / 0.8925 GB, free: 31.37 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.8037, allocations: 6.594 kB / 0.8925 GB, free: 31.37 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.8037, allocations: 2.625 kB / 0.8925 GB, free: 31.37 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006629/0.8044, allocations: 300.2 kB / 0.8928 GB, free: 31.37 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.8057, allocations: 0.7387 MB / 0.8935 GB, free: 31.06 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005247/0.8062, allocations: 249.5 kB / 0.8938 GB, free: 31.03 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.8062, allocations: 1.922 kB / 0.8938 GB, free: 31.03 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.8063, allocations: 41.22 kB / 0.8938 GB, free: 30.98 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.8063, allocations: 3.938 kB / 0.8938 GB, free: 30.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.001546/0.8078, allocations: 0.9424 MB / 0.8947 GB, free: 30.55 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.042e-05/0.8079, allocations: 139.5 kB / 0.8949 GB, free: 30.39 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006099/0.8085, allocations: 341.4 kB / 0.8952 GB, free: 30.29 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.8086, allocations: 35.67 kB / 0.8952 GB, free: 30.25 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.8087, allocations: 173.5 kB / 0.8954 GB, free: 30.15 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.8088, allocations: 40.47 kB / 0.8954 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/0.8088, allocations: 3.938 kB / 0.8954 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.8089, allocations: 343.3 kB / 0.8958 GB, free: 29.81 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006256/0.8096, allocations: 252 kB / 0.896 GB, free: 29.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000613/0.8102, allocations: 254.2 kB / 0.8963 GB, free: 29.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006692/0.8109, allocations: 411.7 kB / 0.8966 GB, free: 29.61 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.8109, allocations: 4 kB / 0.8966 GB, free: 29.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001404/0.8123, allocations: 0.7509 MB / 0.8974 GB, free: 29.36 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.8124, allocations: 183.9 kB / 0.8976 GB, free: 29.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.8125, allocations: 0 / 0.8976 GB, free: 29.17 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.8125, allocations: 1.531 kB / 0.8976 GB, free: 29.17 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.8127, allocations: 38.98 kB / 0.8976 GB, free: 29.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.8127, allocations: 5.297 kB / 0.8976 GB, free: 29.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.813, allocations: 64.47 kB / 0.8977 GB, free: 29.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.611e-05/0.8131, allocations: 14.3 kB / 0.8977 GB, free: 29.14 MB / 0.5417 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.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002709/0.8134, allocations: 265 kB / 0.8979 GB, free: 28.93 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.619e-05/0.8135, allocations: 26.91 kB / 0.898 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.192e-05/0.8135, allocations: 27.98 kB / 0.898 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.8135, allocations: 1 kB / 0.898 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/0.8136, allocations: 1.312 kB / 0.898 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.8136, allocations: 0 / 0.898 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.814, allocations: 354.2 kB / 0.8983 GB, free: 28.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.8141, allocations: 7.938 kB / 0.8983 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.8142, allocations: 35.25 kB / 0.8984 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.8143, allocations: 1.125 kB / 0.8984 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.8143, allocations: 7.469 kB / 0.8984 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.8143, allocations: 3.422 kB / 0.8984 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.8143, allocations: 0 / 0.8984 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.8155, allocations: 0.6489 MB / 0.899 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.8156, allocations: 111.8 kB / 0.8991 GB, free: 28.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/0.8156, allocations: 8.281 kB / 0.8991 GB, free: 28.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.8159, allocations: 40.22 kB / 0.8992 GB, free: 28.34 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.8161, allocations: 26.27 kB / 0.8992 GB, free: 28.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.8161, allocations: 9.031 kB / 0.8992 GB, free: 28.34 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004203/0.8165, allocations: 267.9 kB / 0.8994 GB, free: 28.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8165, allocations: 0 / 0.8994 GB, free: 28.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000819/0.8174, allocations: 125.2 kB / 0.8996 GB, free: 28.23 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002382/0.8198, allocations: 1.384 MB / 0.9009 GB, free: 27.41 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001358/0.8211, allocations: 0.8607 MB / 0.9018 GB, free: 27.02 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.8211, allocations: 0 / 0.9018 GB, free: 27.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005416/0.8217, allocations: 396.9 kB / 0.9021 GB, free: 26.82 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.8221, allocations: 58.88 kB / 0.9022 GB, free: 26.82 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.8238, allocations: 1.017 MB / 0.9032 GB, free: 26.28 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/0.8251, allocations: 0.7992 MB / 0.904 GB, free: 41.57 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001371/0.8253, allocations: 20.41 kB / 0.904 GB, free: 41.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.8254, allocations: 80.47 kB / 0.9041 GB, free: 41.57 MB / 0.5573 GB Notification: Performance of SimCode: time 7.82e-07/0.8254, allocations: 1.125 kB / 0.9041 GB, free: 41.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03021/0.8556, allocations: 9.642 MB / 0.9135 GB, free: 40.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/0.8559, allocations: 233.4 kB / 0.9137 GB, free: 40.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.167/3.023, allocations: 0 / 0.9137 GB, free: 40.6 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)