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.001117/0.001117, allocations: 117.4 kB / 16.42 MB, free: 6.465 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.001161/0.001161, allocations: 189.5 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.382/1.382, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.06018/0.06018, allocations: 12.05 MB / 303.3 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.0005254/0.0005255, allocations: 31.89 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.979/1.979, allocations: 272.3 MB / 0.6657 GB, free: 18.3 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003435/0.003435, allocations: 111.8 kB / 0.8936 GB, free: 15.04 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5539/0.5574, allocations: 109.1 MB / 1 GB, free: 8.156 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001523/0.559, allocations: 0.5752 MB / 1.001 GB, free: 7.73 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0005439/0.5595, allocations: 330.8 kB / 1.001 GB, free: 7.473 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.652e-05/0.5595, allocations: 1.156 kB / 1.001 GB, free: 7.473 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.391e-05/0.5596, allocations: 0 / 1.001 GB, free: 7.473 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 5.841e-06/0.5596, allocations: 0 / 1.001 GB, free: 7.473 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.56, allocations: 114.6 kB / 1.001 GB, free: 7.402 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 4.139e-05/0.56, allocations: 4.969 kB / 1.001 GB, free: 7.398 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 4.59e-05/0.5601, allocations: 6.188 kB / 1.001 GB, free: 7.395 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 1.352e-05/0.5601, allocations: 0 / 1.001 GB, free: 7.395 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 2.191e-05/0.5601, allocations: 1.062 kB / 1.001 GB, free: 7.395 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.5601, allocations: 0 / 1.001 GB, free: 7.395 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003517/0.5605, allocations: 278.2 kB / 1.001 GB, free: 7.238 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 8.005e-06/0.5605, allocations: 0 / 1.001 GB, free: 7.238 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 1.375e-05/0.5605, allocations: 1.094 kB / 1.001 GB, free: 7.238 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.5607, allocations: 82.69 kB / 1.002 GB, free: 7.184 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5607, allocations: 5.125 kB / 1.002 GB, free: 7.18 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5607, allocations: 0 / 1.002 GB, free: 7.18 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.5607, allocations: 3.938 kB / 1.002 GB, free: 7.176 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.0002005/0.5609, allocations: 337.7 kB / 1.002 GB, free: 6.805 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.5609, allocations: 11.39 kB / 1.002 GB, free: 6.801 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.561, allocations: 2.5 kB / 1.002 GB, free: 6.801 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.211e-05/0.561, allocations: 160.4 kB / 1.002 GB, free: 6.605 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.5611, allocations: 384 / 1.002 GB, free: 6.605 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.5611, allocations: 1.844 kB / 1.002 GB, free: 6.605 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.339e-05/0.5611, allocations: 27.73 kB / 1.002 GB, free: 6.574 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.5612, allocations: 192 / 1.002 GB, free: 6.574 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.5612, allocations: 3.938 kB / 1.002 GB, free: 6.57 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.5612, allocations: 5.469 kB / 1.002 GB, free: 6.566 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.727e-05/0.5612, allocations: 5.375 kB / 1.002 GB, free: 6.562 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.362e-05/0.5613, allocations: 151.2 kB / 1.002 GB, free: 6.367 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 2.589e-05/0.5613, allocations: 16.05 kB / 1.002 GB, free: 6.344 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.251e-05/0.5613, allocations: 6.359 kB / 1.002 GB, free: 6.336 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003823/0.5617, allocations: 428.6 kB / 1.003 GB, free: 5.848 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.5618, allocations: 32.03 kB / 1.003 GB, free: 5.809 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.5618, allocations: 3.984 kB / 1.003 GB, free: 5.805 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1): time 0.0001183/0.5619, allocations: 41.98 kB / 1.003 GB, free: 5.762 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.227e-05/0.5619, allocations: 56.89 kB / 1.003 GB, free: 5.695 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.394e-05/0.5619, allocations: 89.86 kB / 1.003 GB, free: 5.598 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 5.009e-06/0.5619, allocations: 29.83 kB / 1.003 GB, free: 5.562 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 8.546e-06/0.5619, allocations: 84.08 kB / 1.003 GB, free: 5.477 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.562, allocations: 8.953 kB / 1.003 GB, free: 5.473 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.562, allocations: 10.97 kB / 1.003 GB, free: 5.457 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.53e-05/0.562, allocations: 312.1 kB / 1.003 GB, free: 5.145 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.916e-06/0.562, allocations: 1.25 kB / 1.003 GB, free: 5.145 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.51e-06/0.5621, allocations: 1.438 kB / 1.003 GB, free: 5.145 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.388e-05/0.5621, allocations: 15.95 kB / 1.003 GB, free: 5.129 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.5621, allocations: 0 / 1.003 GB, free: 5.129 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.457e-05/0.5621, allocations: 39.38 kB / 1.003 GB, free: 5.09 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.5622, allocations: 9.125 kB / 1.003 GB, free: 5.086 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.5622, allocations: 0 / 1.003 GB, free: 5.086 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.5622, allocations: 3.938 kB / 1.003 GB, free: 5.082 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.458e-05/0.5622, allocations: 2.344 kB / 1.003 GB, free: 5.082 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.5622, allocations: 0 / 1.003 GB, free: 5.082 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.277e-06/0.5623, allocations: 1.031 kB / 1.003 GB, free: 5.082 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.5623, allocations: 0 / 1.003 GB, free: 5.082 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.444e-05/0.5623, allocations: 111.8 kB / 1.003 GB, free: 4.965 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.5623, allocations: 0.9688 kB / 1.003 GB, free: 4.965 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.483e-05/0.5624, allocations: 46.16 kB / 1.003 GB, free: 4.918 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.5624, allocations: 3.938 kB / 1.003 GB, free: 4.914 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.5624, allocations: 0 / 1.003 GB, free: 4.914 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.5624, allocations: 78.36 kB / 1.004 GB, free: 4.82 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-06/0.5624, allocations: 1 kB / 1.004 GB, free: 4.82 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-06/0.5624, allocations: 4 kB / 1.004 GB, free: 4.816 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.978e-06/0.5625, allocations: 4.938 kB / 1.004 GB, free: 4.812 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.231e-05/0.5625, allocations: 109.9 kB / 1.004 GB, free: 4.703 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 6.832e-05/0.5626, allocations: 209.2 kB / 1.004 GB, free: 4.488 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.354e-05/0.5626, allocations: 5.828 kB / 1.004 GB, free: 4.484 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 9.428e-06/0.5626, allocations: 75.28 kB / 1.004 GB, free: 4.41 MB / 0.6857 GB Notification: Performance of Backend: time 1.91e-07/0.5626, allocations: 4.062 kB / 1.004 GB, free: 4.406 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004187/0.563, allocations: 118.1 kB / 1.004 GB, free: 4.324 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0001732/0.5632, allocations: 0.5226 MB / 1.005 GB, free: 3.762 MB / 0.6857 GB Notification: Performance of Templates: time 0.002777/0.566, allocations: 1.058 MB / 1.006 GB, free: 3.219 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)