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.0008198/0.0008198, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008153/0.0008153, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.393/2.393, allocations: 409.4 MB / 0.684 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003168, allocations: 8 kB / 0.8378 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5522/0.5525, allocations: 146.8 MB / 0.9811 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002006/0.5545, allocations: 1.746 MB / 0.9829 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.556, allocations: 1.084 MB / 0.9839 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.684e-05/0.5561, allocations: 8 kB / 0.9839 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.5564, allocations: 91.55 kB / 0.984 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.177e-05/0.5565, allocations: 39.7 kB / 0.984 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.557, allocations: 186.5 kB / 0.9842 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.5572, allocations: 247.3 kB / 0.9845 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.5574, allocations: 77.84 kB / 0.9845 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.594e-05/0.5575, allocations: 75.64 kB / 0.9846 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.5576, allocations: 103.5 kB / 0.9847 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.5576, allocations: 8 kB / 0.9847 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.5579, allocations: 187.7 kB / 0.9849 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.637e-05/0.558, allocations: 75.75 kB / 0.985 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.581e-05/0.5581, allocations: 73.52 kB / 0.985 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000367/0.5585, allocations: 425.2 kB / 0.9854 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.5585, allocations: 0 / 0.9854 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5585, allocations: 0 / 0.9854 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.5585, allocations: 0 / 0.9854 GB, free: 1.914 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.0009477/0.5594, allocations: 0.7673 MB / 0.9862 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.5595, allocations: 8.031 kB / 0.9862 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.141e-05/0.5595, allocations: 50.55 kB / 0.9862 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.615e-05/0.5596, allocations: 39.53 kB / 0.9863 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.56, allocations: 311.3 kB / 0.9866 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.56, allocations: 20.23 kB / 0.9866 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.56, allocations: 16 kB / 0.9866 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005688/0.5606, allocations: 306.9 kB / 0.9869 GB, free: 284 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.5606, allocations: 0 / 0.9869 GB, free: 284 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.5607, allocations: 8 kB / 0.9869 GB, free: 276 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.5607, allocations: 7.984 kB / 0.9869 GB, free: 268 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006464/0.5613, allocations: 304.3 kB / 0.9872 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008863/0.5622, allocations: 0.6757 MB / 0.9879 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005077/0.5627, allocations: 254.5 kB / 0.9881 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003826/0.5631, allocations: 204.7 kB / 0.9883 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.5632, allocations: 4 kB / 0.9883 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.5632, allocations: 42.56 kB / 0.9884 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.5632, allocations: 0 / 0.9884 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14): time 0.001291/0.5645, allocations: 0.7092 MB / 0.989 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.5646, allocations: 140.5 kB / 0.9892 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/0.565, allocations: 380.4 kB / 0.9895 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.565, allocations: 25.7 kB / 0.9896 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.5651, allocations: 168.3 kB / 0.9897 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.5652, allocations: 39.45 kB / 0.9898 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/0.5652, allocations: 8 kB / 0.9898 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.5653, allocations: 346.8 kB / 0.9901 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004322/0.5658, allocations: 247.9 kB / 0.9903 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.5662, allocations: 265.1 kB / 0.9906 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004905/0.5667, allocations: 418.1 kB / 0.991 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5667, allocations: 0 / 0.991 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001069/0.5678, allocations: 0.7627 MB / 0.9917 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.5679, allocations: 178.2 kB / 0.9919 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.5679, allocations: 3.938 kB / 0.9919 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.5679, allocations: 4 kB / 0.9919 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.5681, allocations: 35.97 kB / 0.9919 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.5681, allocations: 4 kB / 0.992 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.5683, allocations: 55.66 kB / 0.992 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.5684, allocations: 15.98 kB / 0.992 GB, free: 10.77 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.0002069/0.5686, allocations: 259 kB / 0.9923 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.379e-05/0.5686, allocations: 35.56 kB / 0.9923 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.492e-05/0.5687, allocations: 26.94 kB / 0.9923 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5687, allocations: 4 kB / 0.9923 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5687, allocations: 3.938 kB / 0.9923 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5687, allocations: 0 / 0.9923 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.569, allocations: 349.3 kB / 0.9927 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5691, allocations: 0 / 0.9927 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.5692, allocations: 39.97 kB / 0.9927 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5692, allocations: 4 kB / 0.9927 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.5693, allocations: 4 kB / 0.9927 GB, free: 9.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.5693, allocations: 0 / 0.9927 GB, free: 9.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5693, allocations: 3.984 kB / 0.9927 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009264/0.5702, allocations: 0.6446 MB / 0.9933 GB, free: 9.297 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.5703, allocations: 116.6 kB / 0.9935 GB, free: 9.164 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.5703, allocations: 7.984 kB / 0.9935 GB, free: 9.156 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.5706, allocations: 39.97 kB / 0.9935 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.977e-05/0.5707, allocations: 31.91 kB / 0.9935 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.5707, allocations: 4 kB / 0.9935 GB, free: 9.082 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002737/0.571, allocations: 267 kB / 0.9938 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.571, allocations: 0 / 0.9938 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004286/0.5714, allocations: 108 kB / 0.9939 GB, free: 8.719 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.001342/0.5728, allocations: 1.248 MB / 0.9951 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.5739, allocations: 0.875 MB / 0.996 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5739, allocations: 0 / 0.996 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004799/0.5744, allocations: 394 kB / 0.9963 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.5748, allocations: 71.02 kB / 0.9964 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004071/0.5789, allocations: 2.863 MB / 0.9992 GB, free: 3.074 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.5792, allocations: 0.7831 MB / 1 GB, free: 2.266 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.486e-05/0.5793, allocations: 21.94 kB / 1 GB, free: 2.238 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.5795, allocations: 87.41 kB / 1 GB, free: 2.152 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.5795, allocations: 0 / 1 GB, free: 2.152 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.5981, allocations: 8.157 MB / 1.008 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/0.5983, allocations: 240.5 kB / 1.008 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.424, allocations: 0 / 1.008 GB, free: 10.02 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