Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 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_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_latest_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.001338/0.001338, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001542/0.001543, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.529/2.529, allocations: 223.2 MB / 239.9 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.774/4.774, allocations: 409.2 MB / 0.6838 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006462/0.0006463, allocations: 8 kB / 0.8375 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36/1.361, allocations: 146.8 MB / 0.9809 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.004535/1.366, allocations: 1.738 MB / 0.9826 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003337/1.369, allocations: 1.096 MB / 0.9836 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002213/1.37, allocations: 4 kB / 0.9836 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005874/1.37, allocations: 87.61 kB / 0.9837 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000177/1.37, allocations: 47.86 kB / 0.9838 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001552/1.372, allocations: 178.5 kB / 0.9839 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004761/1.372, allocations: 159.7 kB / 0.9841 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003408/1.373, allocations: 73.84 kB / 0.9842 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/1.373, allocations: 79.7 kB / 0.9842 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/1.373, allocations: 107.5 kB / 0.9843 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.756e-05/1.373, allocations: 12 kB / 0.9844 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005965/1.374, allocations: 175.8 kB / 0.9845 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000145/1.374, allocations: 71.75 kB / 0.9846 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/1.374, allocations: 73.58 kB / 0.9847 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000709/1.375, allocations: 413.2 kB / 0.9851 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.375, allocations: 0 / 0.9851 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.619e-06/1.375, allocations: 3.938 kB / 0.9851 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.506e-06/1.375, allocations: 0 / 0.9851 GB, free: 1.922 MB / 0.7325 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.001856/1.377, allocations: 0.7752 MB / 0.9858 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 9.657e-05/1.377, allocations: 8.031 kB / 0.9858 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/1.377, allocations: 50.55 kB / 0.9859 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/1.377, allocations: 35.53 kB / 0.9859 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007422/1.378, allocations: 315.3 kB / 0.9862 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/1.378, allocations: 24.23 kB / 0.9862 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/1.378, allocations: 16 kB / 0.9862 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009511/1.379, allocations: 306.9 kB / 0.9865 GB, free: 280 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/1.379, allocations: 0 / 0.9865 GB, free: 280 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/1.379, allocations: 4 kB / 0.9865 GB, free: 276 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/1.379, allocations: 4 kB / 0.9865 GB, free: 272 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/1.38, allocations: 300.4 kB / 0.9868 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/1.382, allocations: 0.6912 MB / 0.9875 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008257/1.383, allocations: 246.6 kB / 0.9877 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/1.383, allocations: 0 / 0.9877 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/1.383, allocations: 38.56 kB / 0.9878 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=14): time 2.495e-06/1.383, allocations: 0 / 0.9878 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14): time 0.002407/1.385, allocations: 0.943 MB / 0.9887 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/1.385, allocations: 140.5 kB / 0.9888 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007047/1.386, allocations: 376.4 kB / 0.9892 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/1.386, allocations: 33.81 kB / 0.9892 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000198/1.386, allocations: 172.2 kB / 0.9894 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.069e-05/1.386, allocations: 39.45 kB / 0.9894 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-05/1.387, allocations: 0 / 0.9894 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002308/1.387, allocations: 338.8 kB / 0.9898 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006776/1.387, allocations: 259.8 kB / 0.99 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008924/1.388, allocations: 258.6 kB / 0.9902 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/1.389, allocations: 426.6 kB / 0.9907 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.389, allocations: 0 / 0.9907 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001868/1.391, allocations: 0.7543 MB / 0.9914 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001978/1.391, allocations: 186.2 kB / 0.9916 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.392, allocations: 4 kB / 0.9916 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/1.392, allocations: 0 / 0.9916 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/1.392, allocations: 39.91 kB / 0.9916 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/1.392, allocations: 0 / 0.9916 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003996/1.392, allocations: 59.66 kB / 0.9917 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/1.392, allocations: 12 kB / 0.9917 GB, free: 10.69 MB / 0.7481 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.0004111/1.393, allocations: 254.9 kB / 0.9919 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.149e-05/1.393, allocations: 31.62 kB / 0.992 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.525e-05/1.393, allocations: 30.94 kB / 0.992 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/1.393, allocations: 3.938 kB / 0.992 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.393, allocations: 4 kB / 0.992 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.393, allocations: 0 / 0.992 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/1.394, allocations: 345.4 kB / 0.9923 GB, free: 9.957 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/1.394, allocations: 3.953 kB / 0.9923 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/1.394, allocations: 35.97 kB / 0.9924 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/1.394, allocations: 3.938 kB / 0.9924 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/1.394, allocations: 8 kB / 0.9924 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/1.394, allocations: 4 kB / 0.9924 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/1.394, allocations: 3.984 kB / 0.9924 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/1.396, allocations: 0.6445 MB / 0.993 GB, free: 9.219 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/1.396, allocations: 116.6 kB / 0.9931 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.895e-05/1.396, allocations: 12 kB / 0.9931 GB, free: 9.074 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/1.396, allocations: 35.97 kB / 0.9932 GB, free: 9.039 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/1.397, allocations: 27.95 kB / 0.9932 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/1.397, allocations: 4 kB / 0.9932 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005782/1.397, allocations: 283 kB / 0.9935 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.71e-07/1.397, allocations: 0 / 0.9935 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007935/1.398, allocations: 104 kB / 0.9936 GB, free: 8.633 MB / 0.7481 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.002456/1.401, allocations: 1.244 MB / 0.9948 GB, free: 7.34 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002205/1.403, allocations: 0.8672 MB / 0.9956 GB, free: 6.398 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.403, allocations: 0 / 0.9956 GB, free: 6.398 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009111/1.404, allocations: 390.1 kB / 0.996 GB, free: 5.98 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008278/1.405, allocations: 69.88 kB / 0.9961 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/1.408, allocations: 1.009 MB / 0.997 GB, free: 4.852 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/1.409, allocations: 0.7909 MB / 0.9978 GB, free: 4.035 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000214/1.41, allocations: 17.95 kB / 0.9978 GB, free: 4.02 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/1.41, allocations: 95.39 kB / 0.9979 GB, free: 3.926 MB / 0.7481 GB Notification: Performance of SimCode: time 2.375e-06/1.41, allocations: 4 kB / 0.9979 GB, free: 3.922 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2989/1.709, allocations: 8.016 MB / 1.006 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003481/1.709, allocations: 228.2 kB / 1.006 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.378/5.087, allocations: 6.25 kB / 1.006 GB, free: 11.93 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat does not exist to compare? outputFormat=mat