Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001032, allocations: 103.8 kB / 16.35 MB, free: 5.824 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.00106/0.00106, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002148/0.002147, allocations: 287.9 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9333/0.9333, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00293/0.00293, allocations: 89.92 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1581, allocations: 86.98 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00311/0.1612, allocations: 2.086 MB / 0.6836 GB, free: 5.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.1629, allocations: 1.173 MB / 0.6848 GB, free: 4.184 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.522e-05/0.163, allocations: 4 kB / 0.6848 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.1633, allocations: 111.3 kB / 0.6849 GB, free: 4.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.115e-05/0.1634, allocations: 47.58 kB / 0.6849 GB, free: 4.023 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006302/0.1641, allocations: 259.4 kB / 0.6852 GB, free: 3.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.1644, allocations: 323.2 kB / 0.6855 GB, free: 3.453 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.1646, allocations: 99.03 kB / 0.6856 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.954e-05/0.1647, allocations: 103.7 kB / 0.6857 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.1648, allocations: 131.4 kB / 0.6858 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.1649, allocations: 28 kB / 0.6858 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003178/0.1652, allocations: 227.7 kB / 0.6861 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.481e-05/0.1653, allocations: 87.73 kB / 0.6861 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.1655, allocations: 151.1 kB / 0.6863 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005277/0.166, allocations: 0.553 MB / 0.6868 GB, free: 2.086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.166, allocations: 0 / 0.6868 GB, free: 2.086 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.166, allocations: 7.938 kB / 0.6868 GB, free: 2.078 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.166, allocations: 0 / 0.6868 GB, free: 2.078 MB / 494.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.001085/0.1671, allocations: 0.8126 MB / 0.6876 GB, free: 1.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1672, allocations: 8.031 kB / 0.6876 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.812e-05/0.1672, allocations: 36.56 kB / 0.6877 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.1676, allocations: 316.4 kB / 0.688 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.1677, allocations: 16.66 kB / 0.688 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.1677, allocations: 16.38 kB / 0.688 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/0.1683, allocations: 299.8 kB / 0.6883 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1683, allocations: 0 / 0.6883 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.1683, allocations: 7.984 kB / 0.6883 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1683, allocations: 4 kB / 0.6883 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006195/0.1689, allocations: 284 kB / 0.6886 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2217/0.3906, allocations: 0.6562 MB / 0.6892 GB, free: 18.13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/0.3912, allocations: 230.6 kB / 0.6894 GB, free: 18.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003648/0.3916, allocations: 190 kB / 0.6896 GB, free: 18.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.3916, allocations: 2.688 kB / 0.6896 GB, free: 18.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.3916, allocations: 40.3 kB / 0.6897 GB, free: 18.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.964e-06/0.3916, allocations: 0.9688 kB / 0.6897 GB, free: 18.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.00124/0.3929, allocations: 0.6674 MB / 0.6903 GB, free: 17.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.3929, allocations: 135.2 kB / 0.6904 GB, free: 17.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/0.3933, allocations: 389.8 kB / 0.6908 GB, free: 17.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.3933, allocations: 28.45 kB / 0.6908 GB, free: 17.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.608e-05/0.3934, allocations: 169.4 kB / 0.691 GB, free: 17.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.3935, allocations: 43.41 kB / 0.691 GB, free: 17.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.584e-05/0.3936, allocations: 47.91 kB / 0.6911 GB, free: 17.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.063e-05/0.3936, allocations: 341.9 kB / 0.6914 GB, free: 17.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.3941, allocations: 234.5 kB / 0.6916 GB, free: 17.01 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/0.3945, allocations: 240.7 kB / 0.6919 GB, free: 16.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007939/0.3953, allocations: 0.6802 MB / 0.6925 GB, free: 16.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3953, allocations: 0 / 0.6925 GB, free: 16.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009793/0.3963, allocations: 0.7363 MB / 0.6933 GB, free: 16.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.715e-05/0.3964, allocations: 184.6 kB / 0.6934 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3964, allocations: 0 / 0.6934 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3964, allocations: 6.703 kB / 0.6934 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.3966, allocations: 28.42 kB / 0.6935 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3966, allocations: 1.734 kB / 0.6935 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.3968, allocations: 45.62 kB / 0.6935 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.3968, allocations: 10.53 kB / 0.6935 GB, free: 15.94 MB / 494.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.0001524/0.397, allocations: 255.2 kB / 0.6938 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.397, allocations: 35.17 kB / 0.6938 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.3971, allocations: 28.02 kB / 0.6938 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3971, allocations: 5.109 kB / 0.6938 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3971, allocations: 0 / 0.6938 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3971, allocations: 3.625 kB / 0.6938 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.3974, allocations: 343.8 kB / 0.6942 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3975, allocations: 0.9062 kB / 0.6942 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.3976, allocations: 36.25 kB / 0.6942 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3976, allocations: 0 / 0.6942 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.3977, allocations: 8.359 kB / 0.6942 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3977, allocations: 1.781 kB / 0.6942 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3977, allocations: 0 / 0.6942 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008637/0.3985, allocations: 0.6182 MB / 0.6948 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.504e-05/0.3986, allocations: 114.1 kB / 0.6949 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.3987, allocations: 8.531 kB / 0.6949 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.3989, allocations: 25.41 kB / 0.6949 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.399, allocations: 37.3 kB / 0.695 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.399, allocations: 5.594 kB / 0.695 GB, free: 14.94 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002587/0.3993, allocations: 271.8 kB / 0.6952 GB, free: 14.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3993, allocations: 0 / 0.6952 GB, free: 14.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004083/0.3997, allocations: 106.3 kB / 0.6953 GB, free: 14.79 MB / 494.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.0002649/0.4, allocations: 158.6 kB / 0.6955 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.401, allocations: 0.8361 MB / 0.6963 GB, free: 14.17 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.401, allocations: 0 / 0.6963 GB, free: 14.17 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004676/0.4015, allocations: 374.8 kB / 0.6967 GB, free: 13.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.402, allocations: 73.33 kB / 0.6967 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009543/0.4029, allocations: 0.6524 MB / 0.6974 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.4032, allocations: 0.7824 MB / 0.6981 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.623e-05/0.4033, allocations: 22.59 kB / 0.6982 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.4033, allocations: 22.53 kB / 0.6982 GB, free: 12.84 MB / 494.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4033, allocations: 1.125 kB / 0.6982 GB, free: 12.84 MB / 494.1 MB Notification: Performance of Templates: time 0.01301/0.4163, allocations: 5.97 MB / 0.704 GB, free: 12.5 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)