Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Utilities.Math.Functions.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.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(AixLib.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 113.6 kB / 16.42 MB, free: 6.492 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.0009897/0.0009897, 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.318/1.318, allocations: 222.9 MB / 241 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.05657/0.05657, allocations: 12.04 MB / 303.3 MB, free: 3.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005576/0.0005576, allocations: 23.97 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 2.039/2.039, allocations: 272.3 MB / 0.6657 GB, free: 18.45 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 119.8 kB / 0.8936 GB, free: 15.03 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5312/0.5333, allocations: 109.2 MB / 1 GB, free: 8.348 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001486/0.5348, allocations: 0.5746 MB / 1.001 GB, free: 7.922 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0005616/0.5354, allocations: 327.4 kB / 1.001 GB, free: 7.668 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.877e-05/0.5355, allocations: 0 / 1.001 GB, free: 7.668 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.164e-05/0.5355, allocations: 0 / 1.001 GB, free: 7.668 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 6.713e-06/0.5355, allocations: 1.812 kB / 1.001 GB, free: 7.668 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.5359, allocations: 113.3 kB / 1.001 GB, free: 7.598 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 4.455e-05/0.536, allocations: 1.469 kB / 1.001 GB, free: 7.598 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.536, allocations: 1.469 kB / 1.001 GB, free: 7.598 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 1.515e-05/0.536, allocations: 5.484 kB / 1.001 GB, free: 7.594 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 2.234e-05/0.536, allocations: 3.984 kB / 1.001 GB, free: 7.59 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.5361, allocations: 5.188 kB / 1.001 GB, free: 7.586 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003789/0.5364, allocations: 273.6 kB / 1.001 GB, free: 7.434 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.5365, allocations: 0 / 1.001 GB, free: 7.434 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 1.398e-05/0.5365, allocations: 1.062 kB / 1.001 GB, free: 7.434 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.5366, allocations: 86.89 kB / 1.002 GB, free: 7.375 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5367, allocations: 0 / 1.002 GB, free: 7.375 MB / 0.6857 GB Notification: Performance of FrontEnd: time 2.335e-06/0.5367, allocations: 1.188 kB / 1.002 GB, free: 7.375 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.5367, allocations: 0 / 1.002 GB, free: 7.375 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.0002848/0.537, allocations: 339.3 kB / 1.002 GB, free: 7 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.537, allocations: 9.062 kB / 1.002 GB, free: 7 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.406e-05/0.5371, allocations: 2.062 kB / 1.002 GB, free: 7 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.321e-05/0.5372, allocations: 160.4 kB / 1.002 GB, free: 6.805 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.5372, allocations: 384 / 1.002 GB, free: 6.805 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.5372, allocations: 5.453 kB / 1.002 GB, free: 6.801 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.101e-05/0.5373, allocations: 40.41 kB / 1.002 GB, free: 6.758 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.5373, allocations: 192 / 1.002 GB, free: 6.758 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.5373, allocations: 3.938 kB / 1.002 GB, free: 6.754 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.5373, allocations: 1.281 kB / 1.002 GB, free: 6.754 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.2e-05/0.5374, allocations: 5.031 kB / 1.002 GB, free: 6.75 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001064/0.5375, allocations: 142.7 kB / 1.002 GB, free: 6.562 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 3.059e-05/0.5375, allocations: 16.73 kB / 1.002 GB, free: 6.539 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.5375, allocations: 14.11 kB / 1.002 GB, free: 6.523 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004217/0.5379, allocations: 420.9 kB / 1.003 GB, free: 6.043 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.538, allocations: 39.8 kB / 1.003 GB, free: 5.996 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.538, allocations: 0 / 1.003 GB, free: 5.996 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1): time 0.0001499/0.5381, allocations: 43.33 kB / 1.003 GB, free: 5.953 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.691e-05/0.5382, allocations: 51.41 kB / 1.003 GB, free: 5.891 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.326e-05/0.5382, allocations: 89.86 kB / 1.003 GB, free: 5.793 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.5382, allocations: 26.7 kB / 1.003 GB, free: 5.762 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.323e-05/0.5382, allocations: 84.12 kB / 1.003 GB, free: 5.676 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.5383, allocations: 8.859 kB / 1.003 GB, free: 5.672 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.5383, allocations: 10.75 kB / 1.003 GB, free: 5.656 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.901e-05/0.5384, allocations: 316 kB / 1.003 GB, free: 5.34 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.5384, allocations: 9.203 kB / 1.003 GB, free: 5.332 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.081e-06/0.5384, allocations: 0.9688 kB / 1.003 GB, free: 5.332 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.692e-05/0.5384, allocations: 8.016 kB / 1.003 GB, free: 5.324 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.5384, allocations: 0 / 1.003 GB, free: 5.324 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.749e-05/0.5385, allocations: 34.98 kB / 1.003 GB, free: 5.289 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.5385, allocations: 5.562 kB / 1.003 GB, free: 5.289 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.5385, allocations: 3.938 kB / 1.003 GB, free: 5.285 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.5385, allocations: 5.344 kB / 1.003 GB, free: 5.281 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.157e-05/0.5386, allocations: 0.9375 kB / 1.003 GB, free: 5.281 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.5386, allocations: 5.125 kB / 1.003 GB, free: 5.277 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.939e-06/0.5386, allocations: 0 / 1.003 GB, free: 5.277 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.5386, allocations: 9.453 kB / 1.003 GB, free: 5.27 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 4.794e-05/0.5387, allocations: 111.8 kB / 1.003 GB, free: 5.152 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.5387, allocations: 0 / 1.003 GB, free: 5.152 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.948e-05/0.5388, allocations: 34.7 kB / 1.003 GB, free: 5.117 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.5388, allocations: 7.875 kB / 1.004 GB, free: 5.109 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.5388, allocations: 4.031 kB / 1.004 GB, free: 5.105 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.5388, allocations: 86.12 kB / 1.004 GB, free: 5.004 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.5388, allocations: 0 / 1.004 GB, free: 5.004 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-06/0.5388, allocations: 1.25 kB / 1.004 GB, free: 5.004 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.038e-05/0.5389, allocations: 0 / 1.004 GB, free: 5.004 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.085e-05/0.5389, allocations: 109.7 kB / 1.004 GB, free: 4.895 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.83e-05/0.539, allocations: 213.6 kB / 1.004 GB, free: 4.676 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.821e-05/0.539, allocations: 5.125 kB / 1.004 GB, free: 4.672 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 1.356e-05/0.5391, allocations: 75.28 kB / 1.004 GB, free: 4.598 MB / 0.6857 GB Notification: Performance of Backend: time 1.71e-07/0.5391, allocations: 0 / 1.004 GB, free: 4.598 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004831/0.5396, allocations: 109.9 kB / 1.004 GB, free: 4.523 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0002357/0.5398, allocations: 0.5219 MB / 1.005 GB, free: 3.957 MB / 0.6857 GB Notification: Performance of Templates: time 0.003133/0.5429, allocations: 1.058 MB / 1.006 GB, free: 3.414 MB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)