Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.RegNonZeroPower") translateModel(AixLib.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 113 kB / 16.42 MB, free: 6.441 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.001085/0.001085, allocations: 192 kB / 17.35 MB, free: 5.738 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.352/1.352, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.0578/0.0578, allocations: 12.04 MB / 303.2 MB, free: 3.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004697/0.0004698, allocations: 31.92 kB / 356.3 MB, free: 14 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.574/1.574, allocations: 268.2 MB / 0.6617 GB, free: 2.629 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 115.8 kB / 0.888 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5307/0.5329, allocations: 108.4 MB / 0.9938 GB, free: 11.86 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.RegNonZeroPower): time 0.002066/0.535, allocations: 1.435 MB / 0.9952 GB, free: 10.74 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0005723/0.5355, allocations: 386 kB / 0.9956 GB, free: 10.44 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.957e-05/0.5356, allocations: 0 / 0.9956 GB, free: 10.44 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 2.513e-05/0.5356, allocations: 1.219 kB / 0.9956 GB, free: 10.44 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 3.499e-05/0.5357, allocations: 3.938 kB / 0.9956 GB, free: 10.43 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.5361, allocations: 111.9 kB / 0.9957 GB, free: 10.37 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 5.634e-05/0.5361, allocations: 29.48 kB / 0.9958 GB, free: 10.35 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 8.363e-05/0.5362, allocations: 7.953 kB / 0.9958 GB, free: 10.35 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 3.953e-05/0.5363, allocations: 15.45 kB / 0.9958 GB, free: 10.34 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 3.565e-05/0.5363, allocations: 14.78 kB / 0.9958 GB, free: 10.32 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.5363, allocations: 2.719 kB / 0.9958 GB, free: 10.32 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003327/0.5367, allocations: 280.3 kB / 0.9961 GB, free: 10.17 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.5367, allocations: 0 / 0.9961 GB, free: 10.17 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.5367, allocations: 14.89 kB / 0.9961 GB, free: 10.16 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.5369, allocations: 103.2 kB / 0.9962 GB, free: 10.09 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.5369, allocations: 0 / 0.9962 GB, free: 10.09 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5369, allocations: 0.9062 kB / 0.9962 GB, free: 10.09 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.5369, allocations: 4 kB / 0.9962 GB, free: 10.08 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003698/0.5373, allocations: 367.5 kB / 0.9965 GB, free: 9.691 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.5373, allocations: 9.062 kB / 0.9965 GB, free: 9.691 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.5374, allocations: 1.781 kB / 0.9965 GB, free: 9.691 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.127e-05/0.5374, allocations: 177.3 kB / 0.9967 GB, free: 9.484 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.5375, allocations: 1.625 kB / 0.9967 GB, free: 9.484 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.5375, allocations: 1.688 kB / 0.9967 GB, free: 9.484 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.5376, allocations: 53.92 kB / 0.9968 GB, free: 9.438 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5377, allocations: 192 / 0.9968 GB, free: 9.438 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.5377, allocations: 5.281 kB / 0.9968 GB, free: 9.434 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.5377, allocations: 0 / 0.9968 GB, free: 9.434 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.5378, allocations: 34.52 kB / 0.9968 GB, free: 9.418 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.5381, allocations: 246.1 kB / 0.997 GB, free: 9.137 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.5382, allocations: 48.39 kB / 0.9971 GB, free: 9.094 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.49e-05/0.5383, allocations: 27.22 kB / 0.9971 GB, free: 9.074 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005287/0.5388, allocations: 459 kB / 0.9975 GB, free: 8.578 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.129e-05/0.5389, allocations: 31.56 kB / 0.9976 GB, free: 8.539 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.5389, allocations: 0 / 0.9976 GB, free: 8.539 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2): time 0.000348/0.5392, allocations: 85.86 kB / 0.9977 GB, free: 8.48 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.199e-05/0.5392, allocations: 52.75 kB / 0.9977 GB, free: 8.418 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.776e-05/0.5393, allocations: 109.3 kB / 0.9978 GB, free: 8.309 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.5393, allocations: 25.7 kB / 0.9978 GB, free: 8.277 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.314e-05/0.5393, allocations: 85.33 kB / 0.9979 GB, free: 8.191 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.5393, allocations: 13.44 kB / 0.9979 GB, free: 8.18 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.5394, allocations: 12.19 kB / 0.9979 GB, free: 8.164 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.707e-05/0.5394, allocations: 312 kB / 0.9982 GB, free: 7.852 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.327e-05/0.5395, allocations: 17.02 kB / 0.9983 GB, free: 7.844 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.009e-05/0.5396, allocations: 17.58 kB / 0.9983 GB, free: 7.836 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.5397, allocations: 44.25 kB / 0.9983 GB, free: 7.809 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5397, allocations: 0 / 0.9983 GB, free: 7.809 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001914/0.5399, allocations: 77.56 kB / 0.9984 GB, free: 7.75 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.54, allocations: 5.375 kB / 0.9984 GB, free: 7.75 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.54, allocations: 5.125 kB / 0.9984 GB, free: 7.746 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.54, allocations: 0 / 0.9984 GB, free: 7.746 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.594e-05/0.5401, allocations: 9.812 kB / 0.9984 GB, free: 7.742 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.5401, allocations: 5.203 kB / 0.9984 GB, free: 7.738 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.444e-05/0.5401, allocations: 2.938 kB / 0.9984 GB, free: 7.738 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.5401, allocations: 1.406 kB / 0.9984 GB, free: 7.738 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 (2): * Single equations (assignments): 2 * 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.988e-05/0.5402, allocations: 111.2 kB / 0.9985 GB, free: 7.621 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.5402, allocations: 6.375 kB / 0.9985 GB, free: 7.617 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.5404, allocations: 79.73 kB / 0.9986 GB, free: 7.551 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5405, allocations: 1.188 kB / 0.9986 GB, free: 7.551 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5405, allocations: 0 / 0.9986 GB, free: 7.551 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.5405, allocations: 90.16 kB / 0.9987 GB, free: 7.445 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.5405, allocations: 256 / 0.9987 GB, free: 7.445 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.5406, allocations: 12.67 kB / 0.9987 GB, free: 7.438 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.5406, allocations: 1.062 kB / 0.9987 GB, free: 7.438 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002153/0.5408, allocations: 149.8 kB / 0.9988 GB, free: 7.309 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002105/0.5411, allocations: 244.1 kB / 0.9991 GB, free: 7.078 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.339e-05/0.5412, allocations: 26.19 kB / 0.9991 GB, free: 7.062 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.073e-05/0.5412, allocations: 84.38 kB / 0.9992 GB, free: 6.984 MB / 0.6857 GB Notification: Performance of Backend: time 2.71e-07/0.5412, allocations: 0 / 0.9992 GB, free: 6.984 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004822/0.5417, allocations: 135.1 kB / 0.9993 GB, free: 6.898 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0002743/0.542, allocations: 0.555 MB / 0.9999 GB, free: 6.312 MB / 0.6857 GB Notification: Performance of Templates: time 0.003394/0.5454, allocations: 1.398 MB / 1.001 GB, free: 5.609 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f AixLib_AixLib.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.RegNonZeroPower.sim & ./AixLib_AixLib.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)