Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IBPSA_latest_IBPSA_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.001291/0.001291, allocations: 106.1 kB / 15.98 MB, free: 6.355 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.001269/0.001269, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.239/1.239, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6605/0.6605, allocations: 115.3 MB / 406.1 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.89 kB / 493.2 MB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2786, allocations: 76.17 MB / 0.556 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002919/0.2816, allocations: 2.131 MB / 0.5581 GB, free: 34.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.2831, allocations: 1.164 MB / 0.5593 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.2833, allocations: 2.75 kB / 0.5593 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.2837, allocations: 100.2 kB / 0.5593 GB, free: 33.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.2838, allocations: 43.83 kB / 0.5594 GB, free: 33.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006633/0.2845, allocations: 229.3 kB / 0.5596 GB, free: 33.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000353/0.2849, allocations: 314.5 kB / 0.5599 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.285, allocations: 96.67 kB / 0.56 GB, free: 33.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.2852, allocations: 112 kB / 0.5601 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.2853, allocations: 126.6 kB / 0.5602 GB, free: 33.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.044e-05/0.2854, allocations: 30.75 kB / 0.5603 GB, free: 33.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.2857, allocations: 226.2 kB / 0.5605 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.2858, allocations: 88.75 kB / 0.5606 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.2859, allocations: 149 kB / 0.5607 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005406/0.2865, allocations: 0.5576 MB / 0.5612 GB, free: 33.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.2865, allocations: 1.062 kB / 0.5612 GB, free: 33.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2865, allocations: 0 / 0.5612 GB, free: 33.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.2865, allocations: 0 / 0.5612 GB, free: 33.16 MB / 446.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.0009331/0.2874, allocations: 0.8008 MB / 0.562 GB, free: 32.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2875, allocations: 10.34 kB / 0.562 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.2875, allocations: 50.67 kB / 0.5621 GB, free: 32.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.209e-05/0.2876, allocations: 40.94 kB / 0.5621 GB, free: 32.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.2879, allocations: 321.3 kB / 0.5624 GB, free: 32.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.2879, allocations: 16.19 kB / 0.5624 GB, free: 32.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.288, allocations: 18.66 kB / 0.5625 GB, free: 32.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005422/0.2885, allocations: 300.1 kB / 0.5628 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.2885, allocations: 0.9688 kB / 0.5628 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.2885, allocations: 7.188 kB / 0.5628 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2886, allocations: 3.641 kB / 0.5628 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005969/0.2892, allocations: 274.9 kB / 0.563 GB, free: 31.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000805/0.29, allocations: 0.6749 MB / 0.5637 GB, free: 31.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004749/0.2905, allocations: 236.6 kB / 0.5639 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/0.2908, allocations: 189.6 kB / 0.5641 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.2908, allocations: 0.9688 kB / 0.5641 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.2909, allocations: 33.59 kB / 0.5641 GB, free: 31.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.2909, allocations: 1 kB / 0.5641 GB, free: 31.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.001194/0.2921, allocations: 0.6673 MB / 0.5648 GB, free: 30.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.2921, allocations: 141.8 kB / 0.5649 GB, free: 30.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.2924, allocations: 377.9 kB / 0.5653 GB, free: 30.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.2925, allocations: 29.05 kB / 0.5653 GB, free: 30.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.2926, allocations: 170 kB / 0.5655 GB, free: 30.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.2926, allocations: 46.11 kB / 0.5655 GB, free: 30.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.907e-05/0.2927, allocations: 48.14 kB / 0.5656 GB, free: 30.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.711e-05/0.2927, allocations: 344.6 kB / 0.5659 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003939/0.2931, allocations: 239.4 kB / 0.5661 GB, free: 30.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/0.2935, allocations: 240 kB / 0.5663 GB, free: 29.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007761/0.2943, allocations: 0.6788 MB / 0.567 GB, free: 29.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2943, allocations: 0.8125 kB / 0.567 GB, free: 29.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009303/0.2953, allocations: 0.7373 MB / 0.5677 GB, free: 29.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.277e-05/0.2953, allocations: 183.7 kB / 0.5679 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2953, allocations: 2.391 kB / 0.5679 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.2954, allocations: 3.938 kB / 0.5679 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.2955, allocations: 30.55 kB / 0.5679 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2955, allocations: 0 / 0.5679 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.2957, allocations: 38.77 kB / 0.568 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.2958, allocations: 12.7 kB / 0.568 GB, free: 28.94 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.0001561/0.2959, allocations: 259.1 kB / 0.5682 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.296, allocations: 31.88 kB / 0.5683 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/0.296, allocations: 28.47 kB / 0.5683 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2961, allocations: 1.188 kB / 0.5683 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2961, allocations: 2.781 kB / 0.5683 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.2961, allocations: 2.266 kB / 0.5683 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.2964, allocations: 352.6 kB / 0.5686 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2964, allocations: 6.156 kB / 0.5686 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.2965, allocations: 34.38 kB / 0.5687 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2965, allocations: 0.9688 kB / 0.5687 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.2966, allocations: 10.14 kB / 0.5687 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2966, allocations: 0.875 kB / 0.5687 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2966, allocations: 1.031 kB / 0.5687 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008142/0.2974, allocations: 0.6161 MB / 0.5693 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.2975, allocations: 104.5 kB / 0.5694 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.2975, allocations: 13.3 kB / 0.5694 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.2977, allocations: 25.45 kB / 0.5694 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.666e-05/0.2978, allocations: 29.88 kB / 0.5694 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.2979, allocations: 5.906 kB / 0.5695 GB, free: 27.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002314/0.2981, allocations: 276 kB / 0.5697 GB, free: 27.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2981, allocations: 1.469 kB / 0.5697 GB, free: 27.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004322/0.2985, allocations: 106.9 kB / 0.5698 GB, free: 27.75 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.001131/0.2997, allocations: 1.219 MB / 0.571 GB, free: 26.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009474/0.3006, allocations: 0.8423 MB / 0.5718 GB, free: 26.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3007, allocations: 1.281 kB / 0.5718 GB, free: 26.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004089/0.3011, allocations: 376 kB / 0.5722 GB, free: 26.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.3015, allocations: 65.17 kB / 0.5723 GB, free: 26.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004898/0.3064, allocations: 4.497 MB / 0.5766 GB, free: 23.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.3066, allocations: 0.789 MB / 0.5774 GB, free: 22.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.609e-05/0.3067, allocations: 24.77 kB / 0.5774 GB, free: 22.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.3068, allocations: 92.16 kB / 0.5775 GB, free: 22.79 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3068, allocations: 1.156 kB / 0.5775 GB, free: 22.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5346/0.8414, allocations: 8.267 MB / 0.5856 GB, free: 20.49 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/0.8417, allocations: 240.1 kB / 0.5858 GB, free: 20.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.543, allocations: 0 / 0.5858 GB, free: 20.23 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)