Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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_latest_AixLib.Utilities.Math.Examples.IntegerReplicator") translateModel(AixLib.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_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.0011/0.0011, allocations: 115.1 kB / 16.42 MB, free: 6.488 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.001119/0.001119, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.09 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.05792/0.05792, allocations: 12.04 MB / 303.3 MB, free: 3.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005677/0.0005678, allocations: 35.95 kB / 356.3 MB, free: 13.97 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/package.mo): time 1.922/1.922, allocations: 272.3 MB / 0.6657 GB, free: 18.44 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 115.8 kB / 0.8936 GB, free: 15.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5145/0.5167, allocations: 109.1 MB / 1 GB, free: 8.312 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.IntegerReplicator): time 0.002666/0.5194, allocations: 1.775 MB / 1.002 GB, free: 6.926 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.5208, allocations: 1.106 MB / 1.003 GB, free: 6.062 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.267e-05/0.5208, allocations: 1.281 kB / 1.003 GB, free: 6.062 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.5211, allocations: 53.98 kB / 1.003 GB, free: 6.027 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.5213, allocations: 75.23 kB / 1.003 GB, free: 5.977 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.5218, allocations: 229.7 kB / 1.003 GB, free: 5.824 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.522, allocations: 145.2 kB / 1.003 GB, free: 5.738 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.5221, allocations: 35.67 kB / 1.003 GB, free: 5.715 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 8.629e-05/0.5222, allocations: 61.17 kB / 1.004 GB, free: 5.68 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 9.162e-05/0.5223, allocations: 67.28 kB / 1.004 GB, free: 5.641 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.5223, allocations: 7.375 kB / 1.004 GB, free: 5.641 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.5225, allocations: 72.39 kB / 1.004 GB, free: 5.609 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 7.459e-05/0.5226, allocations: 46.23 kB / 1.004 GB, free: 5.578 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 6.174e-05/0.5227, allocations: 64.02 kB / 1.004 GB, free: 5.527 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.5229, allocations: 187.4 kB / 1.004 GB, free: 5.414 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5229, allocations: 0 / 1.004 GB, free: 5.414 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5229, allocations: 0 / 1.004 GB, free: 5.414 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.5229, allocations: 1.906 kB / 1.004 GB, free: 5.414 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.0005202/0.5235, allocations: 496.5 kB / 1.004 GB, free: 4.922 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.5235, allocations: 9.125 kB / 1.004 GB, free: 4.922 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.5235, allocations: 16.06 kB / 1.004 GB, free: 4.914 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.5238, allocations: 257 kB / 1.005 GB, free: 4.652 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.5238, allocations: 5.562 kB / 1.005 GB, free: 4.648 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.5238, allocations: 7.719 kB / 1.005 GB, free: 4.645 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.524, allocations: 92.03 kB / 1.005 GB, free: 4.562 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.524, allocations: 3.938 kB / 1.005 GB, free: 4.559 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.5241, allocations: 1.156 kB / 1.005 GB, free: 4.559 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.5241, allocations: 1.5 kB / 1.005 GB, free: 4.559 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.5242, allocations: 38.17 kB / 1.005 GB, free: 4.539 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.5246, allocations: 356.6 kB / 1.005 GB, free: 4.188 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.5248, allocations: 88.62 kB / 1.005 GB, free: 4.129 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.567e-05/0.5249, allocations: 31.84 kB / 1.005 GB, free: 4.109 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.5249, allocations: 0.9688 kB / 1.005 GB, free: 4.109 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.5251, allocations: 87.94 kB / 1.005 GB, free: 4.031 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.5251, allocations: 0 / 1.005 GB, free: 4.031 MB / 0.6857 GB Notification: Performance of matching and sorting (n=8): time 0.0003208/0.5254, allocations: 139.1 kB / 1.006 GB, free: 3.949 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.5254, allocations: 109 kB / 1.006 GB, free: 3.82 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.5257, allocations: 261.2 kB / 1.006 GB, free: 3.648 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.5257, allocations: 34.73 kB / 1.006 GB, free: 3.609 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.5257, allocations: 120.1 kB / 1.006 GB, free: 3.496 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.5258, allocations: 20.31 kB / 1.006 GB, free: 3.48 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.5258, allocations: 25.86 kB / 1.006 GB, free: 3.457 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.509e-05/0.5259, allocations: 336.1 kB / 1.006 GB, free: 3.125 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.874e-05/0.5259, allocations: 26.02 kB / 1.006 GB, free: 3.113 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.396e-05/0.526, allocations: 69.23 kB / 1.006 GB, free: 3.055 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.5262, allocations: 72.77 kB / 1.007 GB, free: 3.008 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5262, allocations: 1.125 kB / 1.007 GB, free: 3.008 MB / 0.6857 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000193/0.5264, allocations: 124.2 kB / 1.007 GB, free: 2.926 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.5264, allocations: 7.719 kB / 1.007 GB, free: 2.926 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.5264, allocations: 0 / 1.007 GB, free: 2.926 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.5264, allocations: 1.188 kB / 1.007 GB, free: 2.926 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.497e-05/0.5265, allocations: 10.56 kB / 1.007 GB, free: 2.926 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.5265, allocations: 5.453 kB / 1.007 GB, free: 2.922 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.207e-05/0.5266, allocations: 6.812 kB / 1.007 GB, free: 2.918 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.5266, allocations: 6.969 kB / 1.007 GB, free: 2.914 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 9.045e-05/0.5267, allocations: 146.8 kB / 1.007 GB, free: 2.781 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.5267, allocations: 14.78 kB / 1.007 GB, free: 2.773 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.5268, allocations: 20.11 kB / 1.007 GB, free: 2.754 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.5268, allocations: 0 / 1.007 GB, free: 2.754 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5268, allocations: 1.125 kB / 1.007 GB, free: 2.754 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.5268, allocations: 94.12 kB / 1.007 GB, free: 2.648 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.5269, allocations: 13.92 kB / 1.007 GB, free: 2.637 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.928e-05/0.5269, allocations: 10.48 kB / 1.007 GB, free: 2.629 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.527, allocations: 12.28 kB / 1.007 GB, free: 2.621 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002152/0.5272, allocations: 181.1 kB / 1.007 GB, free: 2.48 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000223/0.5274, allocations: 289.6 kB / 1.007 GB, free: 2.23 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.521e-05/0.5275, allocations: 37.42 kB / 1.007 GB, free: 2.211 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.0001374/0.5277, allocations: 199.2 kB / 1.008 GB, free: 2.082 MB / 0.6857 GB Notification: Performance of Backend: time 3.41e-07/0.5277, allocations: 1.469 kB / 1.008 GB, free: 2.082 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.5289, allocations: 459.7 kB / 1.008 GB, free: 1.879 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0005327/0.5295, allocations: 0.737 MB / 1.009 GB, free: 1.195 MB / 0.6857 GB Notification: Performance of Templates: time 0.005165/0.5346, allocations: 2.6 MB / 1.011 GB, free: 15.89 MB / 0.7013 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Examples.IntegerReplicator.sim & ./AixLib_latest_AixLib.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)