Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_IDEAS_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.001136/0.001136, allocations: 108 kB / 15.6 MB, free: 128 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.001164/0.001164, allocations: 197.2 kB / 16.53 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7555/0.7555, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 72.16 kB / 0.5019 GB, free: 3.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3726, allocations: 80.19 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003692/0.3763, allocations: 2.089 MB / 0.5822 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.3784, allocations: 1.175 MB / 0.5834 GB, free: 2.297 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.3786, allocations: 3.375 kB / 0.5834 GB, free: 2.297 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004949/0.3791, allocations: 123 kB / 0.5835 GB, free: 2.234 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.3794, allocations: 44.86 kB / 0.5835 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008728/0.3803, allocations: 261 kB / 0.5838 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003962/0.3807, allocations: 310.2 kB / 0.5841 GB, free: 1.945 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.3809, allocations: 100.1 kB / 0.5842 GB, free: 1.887 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.381, allocations: 110.9 kB / 0.5843 GB, free: 1.828 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.3812, allocations: 121.2 kB / 0.5844 GB, free: 1.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.73e-05/0.3813, allocations: 30.22 kB / 0.5844 GB, free: 1.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004095/0.3817, allocations: 233.7 kB / 0.5847 GB, free: 1.707 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.3818, allocations: 89.86 kB / 0.5847 GB, free: 1.668 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.382, allocations: 149.6 kB / 0.5849 GB, free: 1.566 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006351/0.3826, allocations: 0.5506 MB / 0.5854 GB, free: 1.367 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3826, allocations: 0 / 0.5854 GB, free: 1.367 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3826, allocations: 0.9062 kB / 0.5854 GB, free: 1.367 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.3827, allocations: 0 / 0.5854 GB, free: 1.367 MB / 430.1 MB 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.001048/0.3837, allocations: 0.8044 MB / 0.5862 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.3838, allocations: 9.5 kB / 0.5862 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.461e-05/0.3838, allocations: 53.77 kB / 0.5863 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.715e-05/0.3839, allocations: 32.25 kB / 0.5863 GB, free: 0.582 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.3844, allocations: 321.8 kB / 0.5866 GB, free: 312 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.3844, allocations: 16.22 kB / 0.5866 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.3844, allocations: 20.88 kB / 0.5866 GB, free: 296 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000644/0.3851, allocations: 292.6 kB / 0.5869 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3851, allocations: 0.9688 kB / 0.5869 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.3851, allocations: 10.88 kB / 0.5869 GB, free: 180 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.3851, allocations: 3.219 kB / 0.5869 GB, free: 180 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007832/0.3859, allocations: 265.2 kB / 0.5872 GB, free: 116 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.3871, allocations: 0.6852 MB / 0.5879 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006286/0.3877, allocations: 227 kB / 0.5881 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000429/0.3882, allocations: 193.2 kB / 0.5883 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.3882, allocations: 5.469 kB / 0.5883 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.3882, allocations: 37.58 kB / 0.5883 GB, free: 15.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.3882, allocations: 0 / 0.5883 GB, free: 15.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.001515/0.3898, allocations: 0.6655 MB / 0.589 GB, free: 15.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.943e-05/0.3899, allocations: 139 kB / 0.5891 GB, free: 15.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/0.3905, allocations: 380.1 kB / 0.5895 GB, free: 14.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.3905, allocations: 32.52 kB / 0.5895 GB, free: 14.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.3907, allocations: 162.6 kB / 0.5896 GB, free: 14.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.314e-05/0.3907, allocations: 44.97 kB / 0.5897 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.3908, allocations: 55.41 kB / 0.5897 GB, free: 14.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.391, allocations: 344.3 kB / 0.5901 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/0.3915, allocations: 238.2 kB / 0.5903 GB, free: 14.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004891/0.392, allocations: 238.8 kB / 0.5905 GB, free: 14.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.393, allocations: 0.6809 MB / 0.5912 GB, free: 13.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3931, allocations: 0 / 0.5912 GB, free: 13.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001327/0.3944, allocations: 0.7361 MB / 0.5919 GB, free: 13.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.3945, allocations: 182.8 kB / 0.5921 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3946, allocations: 1.312 kB / 0.5921 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.3946, allocations: 0 / 0.5921 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.3948, allocations: 32.66 kB / 0.5921 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3948, allocations: 1.062 kB / 0.5921 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.395, allocations: 45.06 kB / 0.5922 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.3951, allocations: 11.86 kB / 0.5922 GB, free: 13.11 MB / 446.1 MB 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.000267/0.3953, allocations: 255.7 kB / 0.5924 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/0.3954, allocations: 31.2 kB / 0.5924 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.794e-05/0.3955, allocations: 32.5 kB / 0.5925 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3955, allocations: 2.047 kB / 0.5925 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3955, allocations: 0 / 0.5925 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.3955, allocations: 5.812 kB / 0.5925 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004499/0.396, allocations: 353.5 kB / 0.5928 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.396, allocations: 0 / 0.5928 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.3962, allocations: 31.3 kB / 0.5928 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3962, allocations: 1.984 kB / 0.5928 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.3962, allocations: 3.75 kB / 0.5928 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.3962, allocations: 1.828 kB / 0.5928 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3962, allocations: 0 / 0.5928 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.3973, allocations: 0.6201 MB / 0.5935 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.252e-05/0.3973, allocations: 108.6 kB / 0.5936 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.063e-05/0.3974, allocations: 8.734 kB / 0.5936 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.3976, allocations: 25.2 kB / 0.5936 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.3978, allocations: 29.75 kB / 0.5936 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.3978, allocations: 8.531 kB / 0.5936 GB, free: 12.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003318/0.3981, allocations: 284.4 kB / 0.5939 GB, free: 11.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3982, allocations: 3.938 kB / 0.5939 GB, free: 11.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005068/0.3987, allocations: 107.2 kB / 0.594 GB, free: 11.92 MB / 446.1 MB 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.001505/0.4002, allocations: 1.205 MB / 0.5952 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.4015, allocations: 0.8442 MB / 0.596 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4015, allocations: 0 / 0.596 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005497/0.402, allocations: 378.8 kB / 0.5964 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.4025, allocations: 70.73 kB / 0.5964 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00589/0.4084, allocations: 4.427 MB / 0.6008 GB, free: 7.367 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.4088, allocations: 0.7809 MB / 0.6015 GB, free: 6.621 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000112/0.409, allocations: 19.92 kB / 0.6015 GB, free: 6.609 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.4091, allocations: 98.55 kB / 0.6016 GB, free: 6.523 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4091, allocations: 0 / 0.6016 GB, free: 6.523 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8506/1.26, allocations: 8.645 MB / 0.6101 GB, free: 2.297 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/12.47, allocations: 4.469 kB / 0.6101 GB, free: 2.297 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)