Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.RegStep") translateModel(AixLib.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_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.001704/0.001704, allocations: 111.4 kB / 16.42 MB, free: 6.473 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.001838/0.001838, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.464/1.464, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005231/0.0005231, allocations: 19.97 kB / 356.3 MB, free: 13.96 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.584/1.584, allocations: 268.3 MB / 0.6617 GB, free: 2.586 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 115.8 kB / 0.8881 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5543/0.5565, allocations: 108.4 MB / 0.9939 GB, free: 11.94 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.RegStep): time 0.001535/0.558, allocations: 0.5754 MB / 0.9944 GB, free: 11.51 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0002381/0.5583, allocations: 50.52 kB / 0.9945 GB, free: 11.47 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.549e-05/0.5583, allocations: 0 / 0.9945 GB, free: 11.47 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.5583, allocations: 0 / 0.9945 GB, free: 11.47 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-06/0.5584, allocations: 5.344 kB / 0.9945 GB, free: 11.46 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.5586, allocations: 19.59 kB / 0.9945 GB, free: 11.45 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 3.94e-05/0.5586, allocations: 2.094 kB / 0.9945 GB, free: 11.45 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 4.347e-05/0.5587, allocations: 4.984 kB / 0.9945 GB, free: 11.45 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 1.388e-05/0.5587, allocations: 5.094 kB / 0.9945 GB, free: 11.44 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 2.113e-05/0.5587, allocations: 1.25 kB / 0.9945 GB, free: 11.44 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 9.247e-06/0.5587, allocations: 0 / 0.9945 GB, free: 11.44 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.5588, allocations: 18.52 kB / 0.9945 GB, free: 11.43 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.5589, allocations: 0 / 0.9945 GB, free: 11.43 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 1.473e-05/0.5589, allocations: 1.312 kB / 0.9945 GB, free: 11.43 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 7.598e-05/0.559, allocations: 17.78 kB / 0.9946 GB, free: 11.42 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.559, allocations: 0 / 0.9946 GB, free: 11.42 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.543e-06/0.559, allocations: 0 / 0.9946 GB, free: 11.42 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.559, allocations: 1.188 kB / 0.9946 GB, free: 11.42 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.0002003/0.5592, allocations: 318.1 kB / 0.9949 GB, free: 11.06 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.5592, allocations: 9.156 kB / 0.9949 GB, free: 11.06 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/0.5595, allocations: 18.09 kB / 0.9949 GB, free: 11.05 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.285e-05/0.5595, allocations: 164.4 kB / 0.995 GB, free: 10.86 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-06/0.5596, allocations: 1.594 kB / 0.995 GB, free: 10.86 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.5596, allocations: 8.359 kB / 0.9951 GB, free: 10.85 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.5597, allocations: 39 kB / 0.9951 GB, free: 10.81 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.5597, allocations: 4.188 kB / 0.9951 GB, free: 10.8 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.5597, allocations: 3.938 kB / 0.9951 GB, free: 10.8 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.5597, allocations: 5.062 kB / 0.9951 GB, free: 10.8 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.335e-05/0.5598, allocations: 8.703 kB / 0.9951 GB, free: 10.79 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.985e-05/0.5599, allocations: 143.1 kB / 0.9953 GB, free: 10.61 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 6.281e-05/0.56, allocations: 23.12 kB / 0.9953 GB, free: 10.58 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.782e-05/0.56, allocations: 16.17 kB / 0.9953 GB, free: 10.56 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.5601, allocations: 0 / 0.9953 GB, free: 10.56 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.239e-05/0.5601, allocations: 31.81 kB / 0.9953 GB, free: 10.52 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.5601, allocations: 3.938 kB / 0.9953 GB, free: 10.52 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1): time 0.0002153/0.5603, allocations: 53.27 kB / 0.9954 GB, free: 10.47 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.352e-05/0.5603, allocations: 51.41 kB / 0.9954 GB, free: 10.41 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.504e-05/0.5604, allocations: 89.98 kB / 0.9955 GB, free: 10.31 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.5604, allocations: 30.73 kB / 0.9955 GB, free: 10.28 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 9.187e-06/0.5604, allocations: 80.14 kB / 0.9956 GB, free: 10.2 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.5604, allocations: 12.92 kB / 0.9956 GB, free: 10.19 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.5604, allocations: 14.92 kB / 0.9956 GB, free: 10.17 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.752e-05/0.5605, allocations: 312.1 kB / 0.9959 GB, free: 9.855 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.465e-05/0.5605, allocations: 2.25 kB / 0.9959 GB, free: 9.855 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.854e-05/0.5606, allocations: 11.36 kB / 0.996 GB, free: 9.848 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.492e-05/0.5607, allocations: 19.53 kB / 0.996 GB, free: 9.832 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5607, allocations: 5 kB / 0.996 GB, free: 9.828 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000136/0.5608, allocations: 42.44 kB / 0.996 GB, free: 9.789 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.5608, allocations: 5.219 kB / 0.996 GB, free: 9.789 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.5609, allocations: 1.312 kB / 0.996 GB, free: 9.789 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.5609, allocations: 3.938 kB / 0.996 GB, free: 9.785 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.476e-05/0.5609, allocations: 6.688 kB / 0.996 GB, free: 9.781 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.561, allocations: 3.984 kB / 0.996 GB, free: 9.777 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.169e-05/0.561, allocations: 2.125 kB / 0.996 GB, free: 9.777 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.561, allocations: 0 / 0.996 GB, free: 9.777 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.85e-05/0.561, allocations: 107.2 kB / 0.9961 GB, free: 9.664 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-06/0.5611, allocations: 1.312 kB / 0.9961 GB, free: 9.664 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.5611, allocations: 3.125 kB / 0.9961 GB, free: 9.66 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5611, allocations: 4.562 kB / 0.9961 GB, free: 9.656 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.5611, allocations: 4 kB / 0.9962 GB, free: 9.652 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.5611, allocations: 85.88 kB / 0.9962 GB, free: 9.551 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.5611, allocations: 0.9062 kB / 0.9962 GB, free: 9.551 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.383e-05/0.5612, allocations: 1.125 kB / 0.9962 GB, free: 9.551 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.325e-05/0.5612, allocations: 1.344 kB / 0.9962 GB, free: 9.551 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001385/0.5613, allocations: 125.9 kB / 0.9964 GB, free: 9.43 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001287/0.5615, allocations: 213.1 kB / 0.9966 GB, free: 9.215 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.642e-05/0.5615, allocations: 11.42 kB / 0.9966 GB, free: 9.207 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 1.136e-05/0.5615, allocations: 75.28 kB / 0.9966 GB, free: 9.133 MB / 0.6857 GB Notification: Performance of Backend: time 2.91e-07/0.5615, allocations: 0 / 0.9966 GB, free: 9.133 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0003813/0.5619, allocations: 88.42 kB / 0.9967 GB, free: 9.059 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0001943/0.5621, allocations: 0.5264 MB / 0.9972 GB, free: 8.492 MB / 0.6857 GB Notification: Performance of Templates: time 0.00229/0.5644, allocations: 444.3 kB / 0.9977 GB, free: 8.262 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.RegStep.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)