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.001234/0.001235, allocations: 99.86 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.001569/0.00157, 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.136/2.136, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.186/1.186, allocations: 132.2 MB / 423.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003947, allocations: 8 kB / 0.5033 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5885/0.5889, allocations: 81.58 MB / 0.583 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002165/0.5912, allocations: 1.723 MB / 0.5847 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.5928, allocations: 1.094 MB / 0.5857 GB, free: 1.898 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.236e-05/0.5929, allocations: 2.938 kB / 0.5857 GB, free: 1.898 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.5932, allocations: 88.02 kB / 0.5858 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.5933, allocations: 46.8 kB / 0.5859 GB, free: 1.828 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006116/0.5939, allocations: 180.4 kB / 0.586 GB, free: 1.746 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.5942, allocations: 163.4 kB / 0.5862 GB, free: 1.664 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.5944, allocations: 70.08 kB / 0.5863 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.869e-05/0.5945, allocations: 74.41 kB / 0.5863 GB, free: 1.598 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.5946, allocations: 106.2 kB / 0.5864 GB, free: 1.551 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.5947, allocations: 8.844 kB / 0.5864 GB, free: 1.551 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003369/0.595, allocations: 181.7 kB / 0.5866 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.5951, allocations: 72.66 kB / 0.5867 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.5952, allocations: 78.14 kB / 0.5868 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005557/0.5958, allocations: 420.6 kB / 0.5872 GB, free: 1.328 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5958, allocations: 0 / 0.5872 GB, free: 1.328 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5958, allocations: 0 / 0.5872 GB, free: 1.328 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.5958, allocations: 0 / 0.5872 GB, free: 1.328 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.001052/0.5969, allocations: 0.7699 MB / 0.5879 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.5969, allocations: 9.781 kB / 0.5879 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.634e-05/0.597, allocations: 48.27 kB / 0.588 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.798e-05/0.5971, allocations: 40.61 kB / 0.588 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.5975, allocations: 313.2 kB / 0.5883 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.5975, allocations: 11.66 kB / 0.5883 GB, free: 300 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.5975, allocations: 25.25 kB / 0.5883 GB, free: 288 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006837/0.5982, allocations: 296.7 kB / 0.5886 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.5983, allocations: 5.094 kB / 0.5886 GB, free: 184 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.5983, allocations: 14.97 kB / 0.5886 GB, free: 172 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.5983, allocations: 3.344 kB / 0.5886 GB, free: 172 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007296/0.599, allocations: 300.9 kB / 0.5889 GB, free: 100 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.6002, allocations: 0.6842 MB / 0.5896 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006093/0.6008, allocations: 244 kB / 0.5898 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.6009, allocations: 2 kB / 0.5898 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.6009, allocations: 36.92 kB / 0.5899 GB, free: 15.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.6009, allocations: 0 / 0.5899 GB, free: 15.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.001626/0.6025, allocations: 0.95 MB / 0.5908 GB, free: 14.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/0.6026, allocations: 139.2 kB / 0.5909 GB, free: 14.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00058/0.6032, allocations: 381.4 kB / 0.5913 GB, free: 14.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.6033, allocations: 32.67 kB / 0.5913 GB, free: 14.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.6034, allocations: 163 kB / 0.5915 GB, free: 14.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.416e-05/0.6035, allocations: 40.52 kB / 0.5915 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.6035, allocations: 2.625 kB / 0.5915 GB, free: 14.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.6037, allocations: 341.5 kB / 0.5918 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006353/0.6044, allocations: 255.6 kB / 0.5921 GB, free: 14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005966/0.605, allocations: 252.9 kB / 0.5923 GB, free: 13.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007056/0.6057, allocations: 422.3 kB / 0.5927 GB, free: 13.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.6057, allocations: 0 / 0.5927 GB, free: 13.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001295/0.607, allocations: 0.7681 MB / 0.5935 GB, free: 13.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.6071, allocations: 185.7 kB / 0.5937 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.6072, allocations: 0 / 0.5937 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.6072, allocations: 2.297 kB / 0.5937 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.6074, allocations: 37.95 kB / 0.5937 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.6074, allocations: 1.625 kB / 0.5937 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.6077, allocations: 67.38 kB / 0.5938 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.6077, allocations: 11.95 kB / 0.5938 GB, free: 13.05 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.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.0002437/0.608, allocations: 250.6 kB / 0.594 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/0.608, allocations: 34.42 kB / 0.594 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.209e-05/0.6081, allocations: 32 kB / 0.5941 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.6081, allocations: 1.375 kB / 0.5941 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.6081, allocations: 0.7969 kB / 0.5941 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.6081, allocations: 5.922 kB / 0.5941 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.6085, allocations: 352.2 kB / 0.5944 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.6085, allocations: 0 / 0.5944 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.6087, allocations: 32.66 kB / 0.5945 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.6087, allocations: 1.922 kB / 0.5945 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.6088, allocations: 3.781 kB / 0.5945 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.6088, allocations: 1 kB / 0.5945 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.6088, allocations: 4 kB / 0.5945 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.6098, allocations: 0.6554 MB / 0.5951 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.058e-05/0.6099, allocations: 112.5 kB / 0.5952 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.61, allocations: 7.719 kB / 0.5952 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.6102, allocations: 40.09 kB / 0.5953 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.6104, allocations: 30.33 kB / 0.5953 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.6104, allocations: 5.312 kB / 0.5953 GB, free: 12.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004321/0.6109, allocations: 275.9 kB / 0.5956 GB, free: 11.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6109, allocations: 0 / 0.5956 GB, free: 11.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006166/0.6115, allocations: 96.64 kB / 0.5956 GB, free: 11.88 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 (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.001937/0.6135, allocations: 1.258 MB / 0.5969 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.6148, allocations: 0.8686 MB / 0.5977 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6148, allocations: 0 / 0.5977 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005615/0.6154, allocations: 393.3 kB / 0.5981 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.6158, allocations: 69.92 kB / 0.5982 GB, free: 10.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.6175, allocations: 1 MB / 0.5991 GB, free: 9.512 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.6179, allocations: 0.7931 MB / 0.5999 GB, free: 8.793 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.618, allocations: 19.2 kB / 0.5999 GB, free: 8.789 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.6181, allocations: 88.38 kB / 0.6 GB, free: 8.711 MB / 446.1 MB Notification: Performance of SimCode: time 1.222e-06/0.6182, allocations: 0 / 0.6 GB, free: 8.711 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05637/0.6745, allocations: 8.015 MB / 0.6078 GB, free: 4.988 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/0.6748, allocations: 202.3 kB / 0.608 GB, free: 4.754 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.99/3.665, allocations: 2.953 kB / 0.608 GB, free: 4.754 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/linux/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) Environment - environmentSimulation: