Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_dev_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.006853/0.006853, allocations: 97.86 kB / 15.73 MB, free: 6.055 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.001354/0.001354, allocations: 194.7 kB / 16.68 MB, free: 5.977 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9745/0.9745, allocations: 135.6 MB / 426.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 68.03 kB / 0.5858 GB, free: 3.172 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.379, allocations: 81.02 MB / 0.6649 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002694/0.3818, allocations: 2.084 MB / 0.6669 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.3832, allocations: 1.169 MB / 0.6681 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.3834, allocations: 3.25 kB / 0.6681 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003542/0.3837, allocations: 108.4 kB / 0.6682 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.237e-05/0.3839, allocations: 46.94 kB / 0.6682 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006097/0.3845, allocations: 263.9 kB / 0.6685 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.3848, allocations: 321.8 kB / 0.6688 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.3849, allocations: 97.41 kB / 0.6689 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.91e-05/0.385, allocations: 113.4 kB / 0.669 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.3851, allocations: 127.5 kB / 0.6691 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.467e-05/0.3852, allocations: 29.47 kB / 0.6691 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003197/0.3855, allocations: 229.5 kB / 0.6694 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.486e-05/0.3856, allocations: 91.23 kB / 0.6694 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.3857, allocations: 149.5 kB / 0.6696 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004956/0.3862, allocations: 0.5536 MB / 0.6701 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3863, allocations: 0 / 0.6701 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3863, allocations: 0 / 0.6701 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.3863, allocations: 0 / 0.6701 GB, free: 3.168 MB / 0.4981 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.0009524/0.3872, allocations: 0.827 MB / 0.6709 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3873, allocations: 10.47 kB / 0.6709 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.3873, allocations: 48.08 kB / 0.671 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.497e-05/0.3874, allocations: 37.98 kB / 0.671 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.3877, allocations: 322.2 kB / 0.6713 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.3877, allocations: 20.31 kB / 0.6713 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.3878, allocations: 16.59 kB / 0.6714 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005337/0.3883, allocations: 289.5 kB / 0.6716 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3883, allocations: 0 / 0.6716 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.3883, allocations: 6.188 kB / 0.6716 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.3883, allocations: 4.219 kB / 0.6717 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006119/0.389, allocations: 277.3 kB / 0.6719 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007722/0.3897, allocations: 0.6655 MB / 0.6726 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/0.3903, allocations: 235.6 kB / 0.6728 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000359/0.3906, allocations: 189.5 kB / 0.673 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.3907, allocations: 5.406 kB / 0.673 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.3907, allocations: 32 kB / 0.673 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.694e-06/0.3907, allocations: 2 kB / 0.673 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001232/0.3919, allocations: 0.6797 MB / 0.6737 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.392, allocations: 144.4 kB / 0.6738 GB, free: 336 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004559/0.3925, allocations: 383.7 kB / 0.6742 GB, free: 96 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3925, allocations: 28.3 kB / 0.6742 GB, free: 64 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.3926, allocations: 168.6 kB / 0.6744 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.3927, allocations: 42.45 kB / 0.6744 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.453e-05/0.3928, allocations: 47.08 kB / 0.6744 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.393, allocations: 347 kB / 0.6748 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004519/0.3934, allocations: 243.8 kB / 0.675 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004311/0.3938, allocations: 233.5 kB / 0.6752 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009854/0.3948, allocations: 0.6803 MB / 0.6759 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3949, allocations: 0 / 0.6759 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001279/0.3961, allocations: 0.7371 MB / 0.6766 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.3963, allocations: 181.2 kB / 0.6768 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3963, allocations: 0 / 0.6768 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3963, allocations: 1.219 kB / 0.6768 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.3965, allocations: 26.97 kB / 0.6768 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3965, allocations: 5.047 kB / 0.6768 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.3967, allocations: 44.5 kB / 0.6769 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.3968, allocations: 14.84 kB / 0.6769 GB, free: 14.11 MB / 0.5137 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.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.0002427/0.397, allocations: 264.3 kB / 0.6771 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/0.3971, allocations: 31.19 kB / 0.6772 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.238e-05/0.3972, allocations: 28.19 kB / 0.6772 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3972, allocations: 1.094 kB / 0.6772 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3972, allocations: 0 / 0.6772 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.3972, allocations: 5 kB / 0.6772 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.3976, allocations: 351.4 kB / 0.6775 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3976, allocations: 0 / 0.6775 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.3978, allocations: 31.34 kB / 0.6776 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.3978, allocations: 1.156 kB / 0.6776 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.3978, allocations: 8.375 kB / 0.6776 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3978, allocations: 0 / 0.6776 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3978, allocations: 4.844 kB / 0.6776 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.3989, allocations: 0.6224 MB / 0.6782 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.853e-05/0.399, allocations: 110.6 kB / 0.6783 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.388e-05/0.399, allocations: 8.938 kB / 0.6783 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.3992, allocations: 22.78 kB / 0.6783 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.3994, allocations: 30.16 kB / 0.6783 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.3994, allocations: 8.406 kB / 0.6784 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003114/0.3997, allocations: 278 kB / 0.6786 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3997, allocations: 1.062 kB / 0.6786 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004519/0.4002, allocations: 105.1 kB / 0.6787 GB, free: 12.7 MB / 0.5137 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 (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.001546/0.4017, allocations: 1.226 MB / 0.6799 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00123/0.403, allocations: 0.8286 MB / 0.6807 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.403, allocations: 5.062 kB / 0.6807 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005317/0.4035, allocations: 378.8 kB / 0.6811 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.404, allocations: 76 kB / 0.6812 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006086/0.4101, allocations: 4.427 MB / 0.6855 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.4106, allocations: 0.7885 MB / 0.6863 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001194/0.4107, allocations: 19.14 kB / 0.6863 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.4108, allocations: 92.47 kB / 0.6864 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of SimCode: time 7.92e-07/0.4108, allocations: 0 / 0.6864 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.4419, allocations: 8.717 MB / 0.6949 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/8.692, allocations: 7.797 kB / 0.6949 GB, free: 1.68 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)