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.0008487/0.0008487, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005234/0.005234, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.179/1.179, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6716/0.6716, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002649/0.0002649, allocations: 12.28 kB / 0.5041 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.315, allocations: 81.57 MB / 0.5838 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.001648/0.3167, allocations: 1.785 MB / 0.5855 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.3181, allocations: 1.204 MB / 0.5867 GB, free: 1.973 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.588e-05/0.3182, allocations: 3.156 kB / 0.5867 GB, free: 1.973 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.3185, allocations: 98.91 kB / 0.5868 GB, free: 1.934 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.448e-05/0.3186, allocations: 39.28 kB / 0.5868 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.319, allocations: 209 kB / 0.587 GB, free: 1.805 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.3193, allocations: 259.4 kB / 0.5873 GB, free: 1.691 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.3194, allocations: 92.09 kB / 0.5874 GB, free: 1.637 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.8e-05/0.3195, allocations: 85.5 kB / 0.5874 GB, free: 1.598 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.3196, allocations: 107.5 kB / 0.5875 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.3197, allocations: 9.938 kB / 0.5875 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/0.3199, allocations: 193.4 kB / 0.5877 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.965e-05/0.32, allocations: 74.72 kB / 0.5878 GB, free: 1.477 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.777e-05/0.3201, allocations: 154 kB / 0.5879 GB, free: 1.359 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004954/0.3206, allocations: 0.5243 MB / 0.5885 GB, free: 1.207 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3206, allocations: 1.656 kB / 0.5885 GB, free: 1.207 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3206, allocations: 0 / 0.5885 GB, free: 1.207 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.3207, allocations: 0 / 0.5885 GB, free: 1.207 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.0007878/0.3214, allocations: 0.7673 MB / 0.5892 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.3215, allocations: 9.688 kB / 0.5892 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.319e-05/0.3215, allocations: 52.88 kB / 0.5893 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.523e-05/0.3216, allocations: 37.02 kB / 0.5893 GB, free: 456 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.3219, allocations: 321.5 kB / 0.5896 GB, free: 172 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.3219, allocations: 12.75 kB / 0.5896 GB, free: 168 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.322, allocations: 20.22 kB / 0.5896 GB, free: 160 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005645/0.3225, allocations: 308.2 kB / 0.5899 GB, free: 52 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3225, allocations: 0 / 0.5899 GB, free: 52 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.3226, allocations: 6.938 kB / 0.5899 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3226, allocations: 4.125 kB / 0.5899 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006861/0.3233, allocations: 309.8 kB / 0.5902 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008708/0.3241, allocations: 0.6757 MB / 0.5909 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005117/0.3247, allocations: 249.4 kB / 0.5911 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000398/0.3251, allocations: 208 kB / 0.5913 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.3251, allocations: 1.125 kB / 0.5913 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.3251, allocations: 33.09 kB / 0.5914 GB, free: 15.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.213e-06/0.3251, allocations: 0 / 0.5914 GB, free: 15.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.001351/0.3265, allocations: 0.7249 MB / 0.5921 GB, free: 15.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.3266, allocations: 138.6 kB / 0.5922 GB, free: 14.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003789/0.3269, allocations: 376.5 kB / 0.5926 GB, free: 14.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.327, allocations: 28.36 kB / 0.5926 GB, free: 14.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.914e-05/0.3271, allocations: 166.5 kB / 0.5928 GB, free: 14.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.3271, allocations: 49.83 kB / 0.5928 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.3272, allocations: 30.58 kB / 0.5928 GB, free: 14.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.3273, allocations: 344.2 kB / 0.5932 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/0.3277, allocations: 252.7 kB / 0.5934 GB, free: 14.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/0.3282, allocations: 257.9 kB / 0.5936 GB, free: 14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009254/0.3291, allocations: 0.7173 MB / 0.5944 GB, free: 13.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3291, allocations: 0 / 0.5944 GB, free: 13.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001025/0.3302, allocations: 0.7632 MB / 0.5951 GB, free: 13.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.843e-05/0.3303, allocations: 181.3 kB / 0.5953 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.3303, allocations: 1.219 kB / 0.5953 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.3303, allocations: 4.453 kB / 0.5953 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.3305, allocations: 43.83 kB / 0.5953 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3305, allocations: 3.938 kB / 0.5953 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.3307, allocations: 52.06 kB / 0.5954 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.3307, allocations: 16.41 kB / 0.5954 GB, free: 12.96 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.0001788/0.3309, allocations: 251.4 kB / 0.5956 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.331, allocations: 34.84 kB / 0.5957 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.331, allocations: 32.64 kB / 0.5957 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.331, allocations: 5.375 kB / 0.5957 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.331, allocations: 0.5625 kB / 0.5957 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.331, allocations: 4.75 kB / 0.5957 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/0.3313, allocations: 353.9 kB / 0.596 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.3314, allocations: 5.125 kB / 0.596 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.3315, allocations: 34.34 kB / 0.5961 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3315, allocations: 1.953 kB / 0.5961 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.3316, allocations: 8.844 kB / 0.5961 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3316, allocations: 0 / 0.5961 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3316, allocations: 1.344 kB / 0.5961 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009094/0.3325, allocations: 0.6449 MB / 0.5967 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.427e-05/0.3326, allocations: 107 kB / 0.5968 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.3326, allocations: 13.95 kB / 0.5968 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.3328, allocations: 38.66 kB / 0.5969 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.842e-05/0.3329, allocations: 26.12 kB / 0.5969 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.3329, allocations: 5.156 kB / 0.5969 GB, free: 11.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002648/0.3332, allocations: 280.5 kB / 0.5972 GB, free: 11.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3332, allocations: 0 / 0.5972 GB, free: 11.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003624/0.3336, allocations: 107.5 kB / 0.5973 GB, free: 11.77 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.001269/0.3349, allocations: 1.247 MB / 0.5985 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.3359, allocations: 0.8678 MB / 0.5993 GB, free: 10.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3359, allocations: 0 / 0.5993 GB, free: 10.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004625/0.3364, allocations: 394.4 kB / 0.5997 GB, free: 10.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.3368, allocations: 68.06 kB / 0.5998 GB, free: 9.992 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005433/0.3423, allocations: 4.584 MB / 0.6043 GB, free: 7.035 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.3426, allocations: 0.7847 MB / 0.605 GB, free: 6.285 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.678e-05/0.3427, allocations: 27.02 kB / 0.605 GB, free: 6.266 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.3428, allocations: 85.03 kB / 0.6051 GB, free: 6.191 MB / 446.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3428, allocations: 0 / 0.6051 GB, free: 6.191 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.996/3.339, allocations: 7.94 MB / 0.6129 GB, free: 2.059 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/3.339, allocations: 222.9 kB / 0.6131 GB, free: 1.805 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/5.186, allocations: 2.953 kB / 0.6131 GB, free: 1.805 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)