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.001213/0.001213, 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.001301/0.001301, allocations: 189.4 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.24/1.24, 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.002043/0.002043, allocations: 293.1 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.8887/0.8887, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 101.2 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1417, allocations: 86.96 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003207/0.145, allocations: 2.082 MB / 0.6836 GB, free: 5.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.1466, allocations: 1.169 MB / 0.6848 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.19e-05/0.1467, allocations: 4 kB / 0.6848 GB, free: 4.184 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.1471, allocations: 119.2 kB / 0.6849 GB, free: 4.066 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.56e-05/0.1472, allocations: 43.58 kB / 0.6849 GB, free: 4.023 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006908/0.1479, allocations: 255.5 kB / 0.6852 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003298/0.1482, allocations: 327.2 kB / 0.6855 GB, free: 3.453 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.1484, allocations: 99.02 kB / 0.6856 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.1485, allocations: 107.6 kB / 0.6857 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.1487, allocations: 127.5 kB / 0.6858 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.116e-05/0.1487, allocations: 32 kB / 0.6858 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003251/0.1491, allocations: 227.7 kB / 0.6861 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.388e-05/0.1492, allocations: 91.73 kB / 0.6861 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.1493, allocations: 151.2 kB / 0.6863 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005321/0.1499, allocations: 0.5569 MB / 0.6868 GB, free: 2.074 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1499, allocations: 0 / 0.6868 GB, free: 2.074 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1499, allocations: 0 / 0.6868 GB, free: 2.074 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1499, allocations: 0 / 0.6868 GB, free: 2.074 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.001025/0.1509, allocations: 0.8087 MB / 0.6876 GB, free: 1.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.151, allocations: 8.031 kB / 0.6876 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.151, allocations: 32.56 kB / 0.6877 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.1514, allocations: 324.4 kB / 0.688 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.1514, allocations: 12.66 kB / 0.688 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.1515, allocations: 28.31 kB / 0.688 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/0.152, allocations: 291.8 kB / 0.6883 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.152, allocations: 0 / 0.6883 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.152, allocations: 8 kB / 0.6883 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.1521, allocations: 4 kB / 0.6883 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005869/0.1527, allocations: 276.1 kB / 0.6886 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.235/0.3877, allocations: 0.659 MB / 0.6892 GB, free: 18.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005555/0.3883, allocations: 232 kB / 0.6894 GB, free: 18.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003747/0.3887, allocations: 192.5 kB / 0.6896 GB, free: 18.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.3887, allocations: 2.328 kB / 0.6896 GB, free: 18.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.3887, allocations: 36.75 kB / 0.6896 GB, free: 17.99 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 2.515e-06/0.3887, allocations: 0 / 0.6896 GB, free: 17.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001304/0.3901, allocations: 0.6696 MB / 0.6903 GB, free: 17.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.3901, allocations: 140.2 kB / 0.6904 GB, free: 17.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/0.3906, allocations: 378.7 kB / 0.6908 GB, free: 17.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.3906, allocations: 32.58 kB / 0.6908 GB, free: 17.53 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.858e-05/0.3907, allocations: 168.6 kB / 0.691 GB, free: 17.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.3907, allocations: 50.61 kB / 0.691 GB, free: 17.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.033e-05/0.3908, allocations: 46.19 kB / 0.6911 GB, free: 17.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.3909, allocations: 341 kB / 0.6914 GB, free: 17.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004162/0.3913, allocations: 235.7 kB / 0.6916 GB, free: 16.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.3917, allocations: 240.2 kB / 0.6919 GB, free: 16.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007846/0.3925, allocations: 0.68 MB / 0.6925 GB, free: 16.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3925, allocations: 1.922 kB / 0.6925 GB, free: 16.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009592/0.3935, allocations: 0.737 MB / 0.6932 GB, free: 16.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.244e-05/0.3936, allocations: 181.7 kB / 0.6934 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3936, allocations: 0 / 0.6934 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3936, allocations: 2.156 kB / 0.6934 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.3938, allocations: 35.28 kB / 0.6935 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3938, allocations: 1.031 kB / 0.6935 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.394, allocations: 45.47 kB / 0.6935 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.394, allocations: 9.391 kB / 0.6935 GB, free: 15.89 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.0001679/0.3942, allocations: 255.8 kB / 0.6938 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.3943, allocations: 36.66 kB / 0.6938 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.025e-05/0.3943, allocations: 32.47 kB / 0.6938 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3943, allocations: 1.844 kB / 0.6938 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3944, allocations: 1.75 kB / 0.6938 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3944, allocations: 1.234 kB / 0.6938 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/0.3947, allocations: 342.2 kB / 0.6941 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3947, allocations: 3.875 kB / 0.6942 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.3948, allocations: 33.27 kB / 0.6942 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3948, allocations: 1.5 kB / 0.6942 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.3949, allocations: 4.766 kB / 0.6942 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3949, allocations: 1.906 kB / 0.6942 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3949, allocations: 0 / 0.6942 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008177/0.3957, allocations: 0.6254 MB / 0.6948 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.3958, allocations: 116.1 kB / 0.6949 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/0.3958, allocations: 8.812 kB / 0.6949 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.396, allocations: 29.61 kB / 0.695 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.3962, allocations: 28.41 kB / 0.695 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.3962, allocations: 9.766 kB / 0.695 GB, free: 14.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002622/0.3964, allocations: 271.8 kB / 0.6952 GB, free: 14.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3965, allocations: 0 / 0.6952 GB, free: 14.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004054/0.3969, allocations: 103.5 kB / 0.6953 GB, free: 14.74 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.0002641/0.3971, allocations: 156.9 kB / 0.6955 GB, free: 14.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009797/0.3981, allocations: 0.8331 MB / 0.6963 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3981, allocations: 0 / 0.6963 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004203/0.3986, allocations: 381.9 kB / 0.6967 GB, free: 13.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.399, allocations: 71.34 kB / 0.6967 GB, free: 13.86 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008861/0.3999, allocations: 0.649 MB / 0.6974 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.4001, allocations: 0.7825 MB / 0.6981 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.431e-05/0.4002, allocations: 19.56 kB / 0.6982 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.4002, allocations: 23.28 kB / 0.6982 GB, free: 12.8 MB / 494.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4002, allocations: 1.031 kB / 0.6982 GB, free: 12.8 MB / 494.1 MB Notification: Performance of Templates: time 0.01016/0.4104, allocations: 5.968 MB / 0.704 GB, free: 12.45 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)