Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001401/0.001401, allocations: 101.6 kB / 16.27 MB, free: 5.852 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.001536/0.001537, allocations: 188.7 kB / 17.19 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.1 MB / 223.1 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.778/1.778, allocations: 292.3 MB / 0.5495 GB, free: 17.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001467, allocations: 72.45 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2637, allocations: 114.6 MB / 0.784 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.004058/0.2678, allocations: 2.102 MB / 0.7861 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002185/0.27, allocations: 1.209 MB / 0.7873 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.2702, allocations: 4 kB / 0.7873 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004499/0.2706, allocations: 115.6 kB / 0.7874 GB, free: 416 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.2708, allocations: 51.52 kB / 0.7874 GB, free: 364 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000786/0.2716, allocations: 255.1 kB / 0.7877 GB, free: 112 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.4361/0.7077, allocations: 316.8 kB / 0.788 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.708, allocations: 94.47 kB / 0.7881 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.7081, allocations: 105.7 kB / 0.7882 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.7083, allocations: 126.6 kB / 0.7883 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.017e-05/0.7084, allocations: 29.56 kB / 0.7883 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004262/0.7088, allocations: 229.9 kB / 0.7885 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.7089, allocations: 89.62 kB / 0.7886 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.709, allocations: 150.9 kB / 0.7888 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005176/0.7096, allocations: 0.5496 MB / 0.7893 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.7096, allocations: 2.688 kB / 0.7893 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7096, allocations: 0 / 0.7893 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.7096, allocations: 0 / 0.7893 GB, free: 45.9 MB / 0.6544 GB 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.001028/0.7106, allocations: 0.8021 MB / 0.7901 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.7107, allocations: 10.5 kB / 0.7901 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.04e-05/0.7108, allocations: 35.66 kB / 0.7901 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.7111, allocations: 324.7 kB / 0.7904 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.7111, allocations: 12.47 kB / 0.7905 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.7111, allocations: 19.86 kB / 0.7905 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005077/0.7117, allocations: 295.9 kB / 0.7908 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.7117, allocations: 0 / 0.7908 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.7117, allocations: 8.531 kB / 0.7908 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.7117, allocations: 4.469 kB / 0.7908 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005743/0.7123, allocations: 276.3 kB / 0.791 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007873/0.7131, allocations: 0.6706 MB / 0.7917 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.7136, allocations: 225.9 kB / 0.7919 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.7139, allocations: 193 kB / 0.7921 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.7139, allocations: 4.375 kB / 0.7921 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.714, allocations: 39.19 kB / 0.7921 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.714, allocations: 0.625 kB / 0.7921 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.001132/0.7151, allocations: 0.6703 MB / 0.7928 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.7152, allocations: 136.1 kB / 0.7929 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.7155, allocations: 380.2 kB / 0.7933 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.7155, allocations: 35.92 kB / 0.7933 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.402e-05/0.7156, allocations: 162.1 kB / 0.7935 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.7156, allocations: 49.28 kB / 0.7935 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.077e-05/0.7157, allocations: 48.53 kB / 0.7936 GB, free: 44 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.429e-05/0.7158, allocations: 348.9 kB / 0.7939 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.7161, allocations: 232.8 kB / 0.7941 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.7165, allocations: 243.4 kB / 0.7943 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007359/0.7173, allocations: 0.68 MB / 0.795 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.7173, allocations: 3.938 kB / 0.795 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008526/0.7182, allocations: 0.7314 MB / 0.7957 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.133e-05/0.7182, allocations: 181.3 kB / 0.7959 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.7183, allocations: 0 / 0.7959 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.7183, allocations: 0 / 0.7959 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.7184, allocations: 30.92 kB / 0.7959 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.7184, allocations: 1.625 kB / 0.7959 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.7186, allocations: 44.44 kB / 0.796 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.7187, allocations: 8.656 kB / 0.796 GB, free: 42.96 MB / 0.6544 GB 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.0001595/0.7188, allocations: 261.7 kB / 0.7962 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.191e-05/0.7189, allocations: 25 kB / 0.7963 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.719, allocations: 36.17 kB / 0.7963 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.719, allocations: 0.5 kB / 0.7963 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.719, allocations: 0 / 0.7963 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.719, allocations: 4.062 kB / 0.7963 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.7193, allocations: 354.2 kB / 0.7966 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7193, allocations: 0.5625 kB / 0.7966 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.7194, allocations: 31 kB / 0.7967 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.7195, allocations: 0 / 0.7967 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.7195, allocations: 9.719 kB / 0.7967 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7195, allocations: 0 / 0.7967 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7195, allocations: 0 / 0.7967 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008008/0.7203, allocations: 0.6244 MB / 0.7973 GB, free: 42.28 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.7204, allocations: 108.9 kB / 0.7974 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.7204, allocations: 4.562 kB / 0.7974 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.7206, allocations: 28.08 kB / 0.7974 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.7208, allocations: 30.17 kB / 0.7974 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.7208, allocations: 9.938 kB / 0.7975 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002169/0.721, allocations: 272.9 kB / 0.7977 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.263e-06/0.721, allocations: 0 / 0.7977 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003896/0.7214, allocations: 106.5 kB / 0.7978 GB, free: 42.07 MB / 0.6544 GB 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.0002564/0.7217, allocations: 154 kB / 0.798 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.7227, allocations: 0.8462 MB / 0.7988 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7227, allocations: 0 / 0.7988 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004506/0.7232, allocations: 377.5 kB / 0.7991 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.7236, allocations: 70.14 kB / 0.7992 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009967/0.7246, allocations: 0.6846 MB / 0.7999 GB, free: 41.13 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.7249, allocations: 0.7868 MB / 0.8007 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.7249, allocations: 22.06 kB / 0.8007 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of SimCode: time 7.42e-07/0.725, allocations: 2.062 kB / 0.8007 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.0099/0.7349, allocations: 4.957 MB / 0.8055 GB, free: 40.14 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)