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.0007759/0.0007759, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.000776/0.000776, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.734/0.734, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002747/0.0002747, allocations: 12.98 kB / 0.5035 GB, free: 4.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3328, allocations: 81.57 MB / 0.5832 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.001754/0.3346, allocations: 1.735 MB / 0.5849 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.3359, allocations: 1.082 MB / 0.5859 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.379e-05/0.336, allocations: 1.656 kB / 0.5859 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.3363, allocations: 98.14 kB / 0.586 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.553e-05/0.3363, allocations: 36.25 kB / 0.586 GB, free: 1.941 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.3368, allocations: 189.4 kB / 0.5862 GB, free: 1.855 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.3371, allocations: 247.9 kB / 0.5865 GB, free: 1.742 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.3372, allocations: 71 kB / 0.5865 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.418e-05/0.3373, allocations: 84.52 kB / 0.5866 GB, free: 1.668 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.3374, allocations: 105.3 kB / 0.5867 GB, free: 1.621 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.3375, allocations: 13.55 kB / 0.5867 GB, free: 1.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002761/0.3377, allocations: 187.9 kB / 0.5869 GB, free: 1.574 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.731e-05/0.3378, allocations: 71.86 kB / 0.587 GB, free: 1.551 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.511e-05/0.3379, allocations: 71.8 kB / 0.587 GB, free: 1.492 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004365/0.3383, allocations: 414.5 kB / 0.5874 GB, free: 1.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3384, allocations: 0.9062 kB / 0.5874 GB, free: 1.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3384, allocations: 0 / 0.5874 GB, free: 1.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.3384, allocations: 4 kB / 0.5874 GB, free: 1.406 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.0007881/0.3392, allocations: 0.7709 MB / 0.5882 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.3392, allocations: 9.594 kB / 0.5882 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.278e-05/0.3393, allocations: 55.94 kB / 0.5883 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.677e-05/0.3393, allocations: 41.48 kB / 0.5883 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.3396, allocations: 311.8 kB / 0.5886 GB, free: 376 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.3396, allocations: 11.97 kB / 0.5886 GB, free: 372 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.3397, allocations: 16.66 kB / 0.5886 GB, free: 368 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.3402, allocations: 310.2 kB / 0.5889 GB, free: 256 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3403, allocations: 5.078 kB / 0.5889 GB, free: 252 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.3403, allocations: 6.719 kB / 0.5889 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3403, allocations: 4 kB / 0.5889 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006104/0.3409, allocations: 305.4 kB / 0.5892 GB, free: 172 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008955/0.3418, allocations: 0.6769 MB / 0.5899 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000515/0.3424, allocations: 247.5 kB / 0.5901 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000383/0.3427, allocations: 205 kB / 0.5903 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.3428, allocations: 1.375 kB / 0.5903 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.3428, allocations: 35.94 kB / 0.5904 GB, free: 15.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.3428, allocations: 4 kB / 0.5904 GB, free: 15.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.001301/0.3441, allocations: 0.7168 MB / 0.5911 GB, free: 15.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.3442, allocations: 134 kB / 0.5912 GB, free: 15.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004241/0.3446, allocations: 378.7 kB / 0.5915 GB, free: 14.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.3447, allocations: 32.42 kB / 0.5916 GB, free: 14.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.3448, allocations: 166.3 kB / 0.5917 GB, free: 14.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.3448, allocations: 45.75 kB / 0.5918 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.323e-05/0.3448, allocations: 2.219 kB / 0.5918 GB, free: 14.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3449, allocations: 344.7 kB / 0.5921 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/0.3454, allocations: 251.8 kB / 0.5924 GB, free: 14.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000423/0.3458, allocations: 261 kB / 0.5926 GB, free: 14.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005082/0.3463, allocations: 420.1 kB / 0.593 GB, free: 13.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3463, allocations: 0.9062 kB / 0.593 GB, free: 13.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001056/0.3474, allocations: 0.769 MB / 0.5938 GB, free: 13.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.964e-05/0.3475, allocations: 180.2 kB / 0.5939 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3475, allocations: 0.7031 kB / 0.5939 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.3475, allocations: 4.906 kB / 0.5939 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.3477, allocations: 47.2 kB / 0.594 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3477, allocations: 4.516 kB / 0.594 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.3479, allocations: 55.8 kB / 0.594 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.3479, allocations: 8.125 kB / 0.594 GB, free: 13.35 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.0001935/0.3481, allocations: 254.4 kB / 0.5943 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/0.3482, allocations: 38.64 kB / 0.5943 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.59e-05/0.3483, allocations: 31.52 kB / 0.5943 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3483, allocations: 0 / 0.5943 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3483, allocations: 3.953 kB / 0.5944 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3483, allocations: 0.6562 kB / 0.5944 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.3486, allocations: 338.8 kB / 0.5947 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3486, allocations: 4 kB / 0.5947 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.3488, allocations: 39.3 kB / 0.5947 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3488, allocations: 1.219 kB / 0.5947 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.3488, allocations: 4.328 kB / 0.5947 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3488, allocations: 0.9375 kB / 0.5947 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3488, allocations: 3.938 kB / 0.5947 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008961/0.3497, allocations: 0.6532 MB / 0.5954 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.842e-05/0.3498, allocations: 113.5 kB / 0.5955 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.3499, allocations: 7.75 kB / 0.5955 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.3501, allocations: 36.62 kB / 0.5955 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.19e-05/0.3502, allocations: 32 kB / 0.5955 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.3502, allocations: 10.86 kB / 0.5956 GB, free: 12.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002653/0.3505, allocations: 267.4 kB / 0.5958 GB, free: 12.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3505, allocations: 1.812 kB / 0.5958 GB, free: 12.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003654/0.3509, allocations: 106.3 kB / 0.5959 GB, free: 12.16 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.001264/0.3521, allocations: 1.246 MB / 0.5971 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.3532, allocations: 0.8726 MB / 0.598 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3532, allocations: 1.406 kB / 0.598 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000464/0.3537, allocations: 388.1 kB / 0.5984 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.3541, allocations: 68.02 kB / 0.5984 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003985/0.3581, allocations: 2.867 MB / 0.6012 GB, free: 8.891 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.3584, allocations: 0.7876 MB / 0.602 GB, free: 8.137 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.609e-05/0.3585, allocations: 19.92 kB / 0.602 GB, free: 8.125 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.3586, allocations: 85 kB / 0.6021 GB, free: 8.051 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3586, allocations: 0 / 0.6021 GB, free: 8.051 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.211/2.57, allocations: 8.15 MB / 0.61 GB, free: 4.262 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/2.57, allocations: 209.4 kB / 0.6102 GB, free: 4.027 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.878/5.448, allocations: 3.938 kB / 0.6103 GB, free: 4.023 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: