Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegStep") translateModel(AixLib.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001778/0.001778, allocations: 183.9 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.339/1.339, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.06025/0.06025, allocations: 12.04 MB / 303.2 MB, free: 3.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000526/0.0005259, allocations: 31.94 kB / 356.3 MB, free: 14 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.27 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 111.8 kB / 0.8936 GB, free: 15.03 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5271/0.5293, allocations: 109.1 MB / 1 GB, free: 8.23 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.RegStep): time 0.001429/0.5307, allocations: 0.5665 MB / 1.001 GB, free: 7.812 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0002181/0.531, allocations: 58.62 kB / 1.001 GB, free: 7.766 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.429e-05/0.531, allocations: 0 / 1.001 GB, free: 7.766 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.531, allocations: 4.969 kB / 1.001 GB, free: 7.762 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 5.801e-06/0.531, allocations: 0 / 1.001 GB, free: 7.762 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.5312, allocations: 16.11 kB / 1.001 GB, free: 7.75 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 3.548e-05/0.5313, allocations: 6.484 kB / 1.001 GB, free: 7.746 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.5313, allocations: 1.031 kB / 1.001 GB, free: 7.746 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 1.164e-05/0.5313, allocations: 0 / 1.001 GB, free: 7.746 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 1.939e-05/0.5314, allocations: 1.5 kB / 1.001 GB, free: 7.746 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.5314, allocations: 4 kB / 1.001 GB, free: 7.742 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 9.062e-05/0.5315, allocations: 18.23 kB / 1.001 GB, free: 7.734 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 9.488e-06/0.5315, allocations: 8.984 kB / 1.001 GB, free: 7.727 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 1.366e-05/0.5315, allocations: 0 / 1.001 GB, free: 7.727 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 7.15e-05/0.5316, allocations: 18.44 kB / 1.001 GB, free: 7.715 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5316, allocations: 0 / 1.001 GB, free: 7.715 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5316, allocations: 1.375 kB / 1.001 GB, free: 7.715 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.5316, allocations: 0 / 1.001 GB, free: 7.715 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001885/0.5318, allocations: 311.3 kB / 1.001 GB, free: 7.363 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.5318, allocations: 8.094 kB / 1.001 GB, free: 7.363 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002446/0.5321, allocations: 26.45 kB / 1.001 GB, free: 7.348 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.577e-05/0.5321, allocations: 164.4 kB / 1.001 GB, free: 7.148 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.5322, allocations: 384 / 1.001 GB, free: 7.148 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.5322, allocations: 13.52 kB / 1.001 GB, free: 7.137 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.5323, allocations: 34.91 kB / 1.001 GB, free: 7.102 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.5323, allocations: 192 / 1.001 GB, free: 7.102 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.5323, allocations: 3.938 kB / 1.001 GB, free: 7.098 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.5323, allocations: 0 / 1.001 GB, free: 7.098 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.285e-05/0.5324, allocations: 13.61 kB / 1.001 GB, free: 7.09 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.369e-05/0.5325, allocations: 146.9 kB / 1.002 GB, free: 6.898 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 6.269e-05/0.5326, allocations: 23.23 kB / 1.002 GB, free: 6.871 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.501e-05/0.5326, allocations: 16.09 kB / 1.002 GB, free: 6.855 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.5327, allocations: 0 / 1.002 GB, free: 6.855 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.079e-05/0.5327, allocations: 35.78 kB / 1.002 GB, free: 6.812 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.5327, allocations: 0 / 1.002 GB, free: 6.812 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1): time 0.0002024/0.5329, allocations: 44.94 kB / 1.002 GB, free: 6.773 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.405e-05/0.5329, allocations: 56.55 kB / 1.002 GB, free: 6.707 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.341e-05/0.5329, allocations: 89.86 kB / 1.002 GB, free: 6.609 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 6.281e-06/0.5329, allocations: 25.7 kB / 1.002 GB, free: 6.578 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 9.218e-06/0.5329, allocations: 80.27 kB / 1.002 GB, free: 6.496 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.533, allocations: 16.8 kB / 1.002 GB, free: 6.484 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.533, allocations: 12.06 kB / 1.002 GB, free: 6.469 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.715e-05/0.5331, allocations: 310.8 kB / 1.002 GB, free: 6.156 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.511e-05/0.5331, allocations: 7.453 kB / 1.002 GB, free: 6.152 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.721e-05/0.5331, allocations: 11.47 kB / 1.002 GB, free: 6.145 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.189e-05/0.5332, allocations: 18.72 kB / 1.002 GB, free: 6.129 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5332, allocations: 1.188 kB / 1.002 GB, free: 6.129 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001066/0.5333, allocations: 42.94 kB / 1.002 GB, free: 6.09 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.5334, allocations: 4.562 kB / 1.002 GB, free: 6.09 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5334, allocations: 1.062 kB / 1.002 GB, free: 6.09 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.5334, allocations: 3.938 kB / 1.002 GB, free: 6.086 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.558e-05/0.5335, allocations: 7.547 kB / 1.002 GB, free: 6.082 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.5335, allocations: 0 / 1.002 GB, free: 6.082 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.262e-05/0.5335, allocations: 1.031 kB / 1.002 GB, free: 6.082 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-06/0.5335, allocations: 9.156 kB / 1.002 GB, free: 6.074 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * 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 3.954e-05/0.5336, allocations: 111.4 kB / 1.002 GB, free: 5.957 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-06/0.5336, allocations: 1.5 kB / 1.002 GB, free: 5.957 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.5336, allocations: 7.109 kB / 1.002 GB, free: 5.949 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5336, allocations: 3.938 kB / 1.002 GB, free: 5.945 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.5336, allocations: 3.938 kB / 1.002 GB, free: 5.941 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.5336, allocations: 78.14 kB / 1.003 GB, free: 5.848 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.5336, allocations: 1.062 kB / 1.003 GB, free: 5.848 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.489e-05/0.5337, allocations: 5 kB / 1.003 GB, free: 5.844 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.5337, allocations: 1.094 kB / 1.003 GB, free: 5.844 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001359/0.5338, allocations: 122.5 kB / 1.003 GB, free: 5.727 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001232/0.534, allocations: 216.5 kB / 1.003 GB, free: 5.508 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.742e-05/0.534, allocations: 11.67 kB / 1.003 GB, free: 5.5 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 9.668e-06/0.534, allocations: 75.28 kB / 1.003 GB, free: 5.426 MB / 0.6857 GB Notification: Performance of Backend: time 2.71e-07/0.5341, allocations: 0 / 1.003 GB, free: 5.426 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.000359/0.5344, allocations: 87.23 kB / 1.003 GB, free: 5.355 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0001773/0.5346, allocations: 0.5284 MB / 1.004 GB, free: 4.785 MB / 0.6857 GB Notification: Performance of Templates: time 0.002078/0.5367, allocations: 447.7 kB / 1.004 GB, free: 4.551 MB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegStep.sim & ./AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)