Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator.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/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.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(AixLib.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator") translateModel(AixLib.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 109.7 kB / 16.42 MB, free: 5.977 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.001339/0.001339, allocations: 184.9 kB / 17.35 MB, free: 5.582 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.367/1.367, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.0569/0.0569, allocations: 12.05 MB / 303.3 MB, free: 3.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005606/0.0005606, allocations: 31.88 kB / 356.3 MB, free: 13.94 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.53/1.53, allocations: 268.3 MB / 0.6618 GB, free: 2.555 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 115.8 kB / 0.888 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6161/0.6183, allocations: 108.4 MB / 0.9938 GB, free: 1.055 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.IntegerReplicator): time 0.003313/0.6216, allocations: 1.78 MB / 0.9956 GB, free: 15.27 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.6236, allocations: 1.104 MB / 0.9967 GB, free: 14.16 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.6237, allocations: 8 kB / 0.9967 GB, free: 14.15 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.6241, allocations: 55.67 kB / 0.9967 GB, free: 14.09 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.6244, allocations: 79.67 kB / 0.9968 GB, free: 14.02 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006776/0.625, allocations: 222.4 kB / 0.997 GB, free: 13.8 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.6253, allocations: 151.6 kB / 0.9972 GB, free: 13.65 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.6254, allocations: 24.34 kB / 0.9972 GB, free: 13.63 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.6255, allocations: 63.77 kB / 0.9972 GB, free: 13.57 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.6257, allocations: 59.75 kB / 0.9973 GB, free: 13.51 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.6257, allocations: 8 kB / 0.9973 GB, free: 13.5 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.6259, allocations: 75.89 kB / 0.9974 GB, free: 13.43 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 8.62e-05/0.626, allocations: 43.83 kB / 0.9974 GB, free: 13.39 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 9.019e-05/0.6261, allocations: 55.67 kB / 0.9975 GB, free: 13.33 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.6264, allocations: 198.7 kB / 0.9977 GB, free: 13.14 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.6264, allocations: 4 kB / 0.9977 GB, free: 13.14 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6265, allocations: 0 / 0.9977 GB, free: 13.14 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.6265, allocations: 0 / 0.9977 GB, free: 13.14 MB / 0.6857 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007212/0.6272, allocations: 0.4883 MB / 0.9981 GB, free: 12.59 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.6272, allocations: 8.031 kB / 0.9981 GB, free: 12.59 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.289e-05/0.6273, allocations: 20.8 kB / 0.9982 GB, free: 12.57 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.6277, allocations: 249 kB / 0.9984 GB, free: 12.28 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.6277, allocations: 4.375 kB / 0.9984 GB, free: 12.28 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.6277, allocations: 8.125 kB / 0.9984 GB, free: 12.27 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.628, allocations: 100.2 kB / 0.9985 GB, free: 12.16 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.628, allocations: 0 / 0.9985 GB, free: 12.16 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.628, allocations: 0 / 0.9985 GB, free: 12.16 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.628, allocations: 4 kB / 0.9985 GB, free: 12.15 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.6282, allocations: 43.84 kB / 0.9986 GB, free: 12.11 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.6287, allocations: 356.7 kB / 0.9989 GB, free: 11.71 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.629, allocations: 90.66 kB / 0.999 GB, free: 11.61 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.457e-05/0.629, allocations: 36.88 kB / 0.999 GB, free: 11.57 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.6291, allocations: 0 / 0.999 GB, free: 11.57 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.6293, allocations: 87.36 kB / 0.9991 GB, free: 11.48 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.6293, allocations: 4 kB / 0.9991 GB, free: 11.47 MB / 0.6857 GB Notification: Performance of matching and sorting (n=8): time 0.0003808/0.6297, allocations: 137.5 kB / 0.9992 GB, free: 11.33 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.6297, allocations: 102.8 kB / 0.9993 GB, free: 11.21 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.63, allocations: 264.3 kB / 0.9996 GB, free: 10.94 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.63, allocations: 37.64 kB / 0.9996 GB, free: 10.89 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 9.075e-05/0.6301, allocations: 120 kB / 0.9997 GB, free: 10.77 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.6302, allocations: 19.84 kB / 0.9998 GB, free: 10.75 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/0.6302, allocations: 25.7 kB / 0.9998 GB, free: 10.72 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.6303, allocations: 334.8 kB / 1 GB, free: 10.39 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.591e-05/0.6304, allocations: 27.98 kB / 1 GB, free: 10.36 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.6305, allocations: 68.27 kB / 1 GB, free: 10.28 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.6307, allocations: 69.64 kB / 1 GB, free: 10.2 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.6307, allocations: 4 kB / 1 GB, free: 10.2 MB / 0.6857 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002273/0.6309, allocations: 121.5 kB / 1 GB, free: 10.07 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.6309, allocations: 4 kB / 1 GB, free: 10.07 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.631, allocations: 0 / 1 GB, free: 10.07 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.631, allocations: 0 / 1 GB, free: 10.07 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.438e-05/0.6311, allocations: 15.94 kB / 1 GB, free: 10.05 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.6311, allocations: 0 / 1 GB, free: 10.05 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.467e-05/0.6312, allocations: 11.98 kB / 1 GB, free: 10.04 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.6312, allocations: 7.938 kB / 1 GB, free: 10.04 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.0001238/0.6313, allocations: 144 kB / 1.001 GB, free: 9.887 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.6314, allocations: 15.91 kB / 1.001 GB, free: 9.871 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.6314, allocations: 21.39 kB / 1.001 GB, free: 9.844 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6314, allocations: 0 / 1.001 GB, free: 9.844 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.6314, allocations: 0 / 1.001 GB, free: 9.844 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 6.236e-05/0.6315, allocations: 93.02 kB / 1.001 GB, free: 9.734 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.6315, allocations: 7.938 kB / 1.001 GB, free: 9.727 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.947e-05/0.6316, allocations: 7.984 kB / 1.001 GB, free: 9.719 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.6316, allocations: 8 kB / 1.001 GB, free: 9.711 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002907/0.6319, allocations: 189 kB / 1.001 GB, free: 9.52 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000289/0.6322, allocations: 282.6 kB / 1.001 GB, free: 9.223 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.614e-05/0.6323, allocations: 44.45 kB / 1.001 GB, free: 9.18 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.0002082/0.6326, allocations: 196.4 kB / 1.001 GB, free: 8.988 MB / 0.6857 GB Notification: Performance of Backend: time 4.21e-07/0.6326, allocations: 0 / 1.001 GB, free: 8.988 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.634, allocations: 467.8 kB / 1.002 GB, free: 8.715 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0008693/0.6349, allocations: 0.7288 MB / 1.003 GB, free: 7.941 MB / 0.6857 GB Notification: Performance of Templates: time 0.006463/0.6414, allocations: 2.595 MB / 1.005 GB, free: 5.379 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator.sim & ./AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)