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.699/0.699, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009654/0.0009654, allocations: 184.4 kB / 187.3 MB, free: 11.89 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.267/1.267, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0009085/0.0009086, allocations: 98.11 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001636/0.001636, allocations: 268.9 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.513e-05/3.517e-05, allocations: 4 kB / 0.6835 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3781, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1139/0.4921, allocations: 112.9 MB / 0.8747 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.4924, allocations: 91.94 kB / 0.8747 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01867/0.5111, allocations: 6.948 MB / 0.8815 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5111, allocations: 0 / 0.8815 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.5111, allocations: 4 kB / 0.8815 GB, free: 4.551 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.0008183/0.5119, allocations: 0.7346 MB / 0.8822 GB, free: 3.73 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.512, allocations: 8.031 kB / 0.8823 GB, free: 3.723 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.368e-05/0.512, allocations: 50.55 kB / 0.8823 GB, free: 3.664 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.112e-05/0.5121, allocations: 35.62 kB / 0.8823 GB, free: 3.629 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.5125, allocations: 315.9 kB / 0.8826 GB, free: 3.281 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.5125, allocations: 12.28 kB / 0.8826 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.5125, allocations: 16 kB / 0.8827 GB, free: 3.254 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.5129, allocations: 254.9 kB / 0.8829 GB, free: 3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.5129, allocations: 0 / 0.8829 GB, free: 3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.513, allocations: 8 kB / 0.8829 GB, free: 2.992 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.513, allocations: 4 kB / 0.8829 GB, free: 2.988 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/0.5132, allocations: 200.5 kB / 0.8831 GB, free: 2.793 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.5143, allocations: 0.7426 MB / 0.8838 GB, free: 2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.5147, allocations: 198.7 kB / 0.884 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.5149, allocations: 152.8 kB / 0.8842 GB, free: 1.645 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.5149, allocations: 0 / 0.8842 GB, free: 1.645 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.5149, allocations: 38.48 kB / 0.8842 GB, free: 1.598 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.5149, allocations: 0 / 0.8842 GB, free: 1.598 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.0005847/0.5155, allocations: 441.2 kB / 0.8846 GB, free: 1.145 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/0.5156, allocations: 132.5 kB / 0.8848 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.5159, allocations: 342.6 kB / 0.8851 GB, free: 0.6445 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.516, allocations: 29.81 kB / 0.8851 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.521e-05/0.5161, allocations: 172.2 kB / 0.8853 GB, free: 448 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.5161, allocations: 39.36 kB / 0.8853 GB, free: 408 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/0.5161, allocations: 11.94 kB / 0.8853 GB, free: 396 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.5163, allocations: 342.8 kB / 0.8857 GB, free: 44 kB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.5165, allocations: 196 kB / 0.8858 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.5168, allocations: 208.9 kB / 0.886 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.5171, allocations: 363.7 kB / 0.8864 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5171, allocations: 0 / 0.8864 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006563/0.5177, allocations: 0.6451 MB / 0.887 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-05/0.5178, allocations: 183.3 kB / 0.8872 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.5178, allocations: 0 / 0.8872 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.5179, allocations: 0 / 0.8872 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.518, allocations: 43.97 kB / 0.8872 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.5181, allocations: 0 / 0.8872 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.5183, allocations: 51.8 kB / 0.8873 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/0.5183, allocations: 16 kB / 0.8873 GB, free: 14.24 MB / 0.5573 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 () * 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.0001229/0.5185, allocations: 210 kB / 0.8875 GB, free: 14.01 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.5185, allocations: 31.62 kB / 0.8875 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.954e-05/0.5186, allocations: 31.06 kB / 0.8876 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.5186, allocations: 0 / 0.8876 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5186, allocations: 0 / 0.8876 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.5186, allocations: 0 / 0.8876 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.5189, allocations: 357.1 kB / 0.8879 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5189, allocations: 0 / 0.8879 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.5191, allocations: 43.91 kB / 0.8879 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5191, allocations: 0 / 0.8879 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.5191, allocations: 8 kB / 0.8879 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.5191, allocations: 4 kB / 0.8879 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5192, allocations: 0 / 0.8879 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005492/0.5197, allocations: 0.547 MB / 0.8885 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.5198, allocations: 112.7 kB / 0.8886 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.5198, allocations: 7.984 kB / 0.8886 GB, free: 12.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.5201, allocations: 39.97 kB / 0.8886 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.5202, allocations: 23.97 kB / 0.8887 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.5202, allocations: 8 kB / 0.8887 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002363/0.5205, allocations: 270.1 kB / 0.8889 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5205, allocations: 0 / 0.8889 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004322/0.5209, allocations: 127.8 kB / 0.889 GB, free: 12.32 MB / 0.5573 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) * 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.001124/0.522, allocations: 1.278 MB / 0.8903 GB, free: 11 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006839/0.5227, allocations: 0.7503 MB / 0.891 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.5227, allocations: 0 / 0.891 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.523, allocations: 346.1 kB / 0.8914 GB, free: 9.805 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.5234, allocations: 65.16 kB / 0.8914 GB, free: 9.742 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009484/0.5243, allocations: 0.6009 MB / 0.892 GB, free: 9.109 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.5246, allocations: 0.7906 MB / 0.8928 GB, free: 8.293 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 8.108e-05/0.5247, allocations: 26.08 kB / 0.8928 GB, free: 8.27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.5249, allocations: 83.41 kB / 0.8929 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of SimCode: time 5.11e-07/0.5249, allocations: 0 / 0.8929 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.5462, allocations: 9.918 MB / 0.9026 GB, free: 14.55 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/0.5464, allocations: 200.8 kB / 0.9028 GB, free: 14.33 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.582, allocations: 2.406 kB / 0.9028 GB, free: 14.33 MB / 0.573 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)