Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Utilities.Math.Examples.PowerLinearized.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Examples.PowerLinearized") translateModel(AixLib.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 119 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.001428/0.001428, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.375/1.375, 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.05702/0.05702, allocations: 12.04 MB / 303.2 MB, free: 3.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005213/0.0005213, allocations: 27.94 kB / 356.3 MB, free: 14.01 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.943/1.943, allocations: 272.3 MB / 0.6657 GB, free: 18.33 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 111.8 kB / 0.8936 GB, free: 15.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5492/0.5514, allocations: 109.1 MB / 1 GB, free: 8.188 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.PowerLinearized): time 0.002137/0.5536, allocations: 1.434 MB / 1.002 GB, free: 7.07 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0002683/0.5539, allocations: 95.97 kB / 1.002 GB, free: 6.992 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.515e-05/0.5539, allocations: 1.156 kB / 1.002 GB, free: 6.992 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 2.732e-05/0.554, allocations: 0 / 1.002 GB, free: 6.992 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 3.81e-05/0.554, allocations: 5.031 kB / 1.002 GB, free: 6.988 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.5542, allocations: 20.64 kB / 1.002 GB, free: 6.973 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 6.296e-05/0.5543, allocations: 29.42 kB / 1.002 GB, free: 6.953 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 9.108e-05/0.5544, allocations: 7.375 kB / 1.002 GB, free: 6.949 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 4.079e-05/0.5544, allocations: 7.375 kB / 1.002 GB, free: 6.945 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 3.75e-05/0.5545, allocations: 11.42 kB / 1.002 GB, free: 6.938 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.5545, allocations: 7.25 kB / 1.002 GB, free: 6.934 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 5.565e-05/0.5546, allocations: 15.95 kB / 1.002 GB, free: 6.926 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.5546, allocations: 5.312 kB / 1.002 GB, free: 6.922 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.5546, allocations: 14.17 kB / 1.002 GB, free: 6.91 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 9.803e-05/0.5547, allocations: 32.14 kB / 1.002 GB, free: 6.887 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5547, allocations: 5.156 kB / 1.002 GB, free: 6.883 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5547, allocations: 4 kB / 1.002 GB, free: 6.879 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.5547, allocations: 0 / 1.002 GB, free: 6.879 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.0003665/0.5551, allocations: 346.5 kB / 1.002 GB, free: 6.508 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.5552, allocations: 8.969 kB / 1.002 GB, free: 6.508 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.5553, allocations: 15.62 kB / 1.002 GB, free: 6.5 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.536e-05/0.5554, allocations: 166.5 kB / 1.002 GB, free: 6.301 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.5554, allocations: 5.406 kB / 1.002 GB, free: 6.297 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-06/0.5554, allocations: 1.469 kB / 1.002 GB, free: 6.297 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.5556, allocations: 61.88 kB / 1.002 GB, free: 6.246 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.5556, allocations: 192 / 1.002 GB, free: 6.246 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.5556, allocations: 3.938 kB / 1.002 GB, free: 6.242 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.5557, allocations: 1.375 kB / 1.002 GB, free: 6.242 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.5559, allocations: 45.95 kB / 1.002 GB, free: 6.223 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.5562, allocations: 270.1 kB / 1.003 GB, free: 5.926 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.5563, allocations: 55.17 kB / 1.003 GB, free: 5.883 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.351e-05/0.5564, allocations: 25.75 kB / 1.003 GB, free: 5.867 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.5564, allocations: 5.078 kB / 1.003 GB, free: 5.863 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.5565, allocations: 35.66 kB / 1.003 GB, free: 5.82 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.5565, allocations: 0 / 1.003 GB, free: 5.82 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2): time 0.0003793/0.5568, allocations: 100.2 kB / 1.003 GB, free: 5.758 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.708e-05/0.5569, allocations: 56.59 kB / 1.003 GB, free: 5.691 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.808e-05/0.5569, allocations: 101.2 kB / 1.003 GB, free: 5.59 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.5569, allocations: 29.81 kB / 1.003 GB, free: 5.555 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.439e-05/0.557, allocations: 89.33 kB / 1.003 GB, free: 5.465 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.557, allocations: 1.219 kB / 1.003 GB, free: 5.465 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.557, allocations: 19.84 kB / 1.003 GB, free: 5.441 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.846e-05/0.5571, allocations: 312 kB / 1.003 GB, free: 5.129 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.5572, allocations: 24.94 kB / 1.003 GB, free: 5.117 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.611e-05/0.5573, allocations: 25.44 kB / 1.004 GB, free: 5.105 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.5574, allocations: 54.75 kB / 1.004 GB, free: 5.074 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5575, allocations: 1.281 kB / 1.004 GB, free: 5.074 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000208/0.5577, allocations: 87.5 kB / 1.004 GB, free: 5.012 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.5577, allocations: 5.844 kB / 1.004 GB, free: 5.012 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5577, allocations: 8.016 kB / 1.004 GB, free: 5.004 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.5577, allocations: 0 / 1.004 GB, free: 5.004 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.5578, allocations: 16.08 kB / 1.004 GB, free: 4.996 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.5578, allocations: 0 / 1.004 GB, free: 4.996 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.994e-05/0.5579, allocations: 8.359 kB / 1.004 GB, free: 4.992 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.5579, allocations: 1.469 kB / 1.004 GB, free: 4.992 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 4.271e-05/0.558, allocations: 111.8 kB / 1.004 GB, free: 4.875 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.558, allocations: 13.28 kB / 1.004 GB, free: 4.863 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.558, allocations: 13 kB / 1.004 GB, free: 4.848 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.558, allocations: 0 / 1.004 GB, free: 4.848 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.558, allocations: 1.406 kB / 1.004 GB, free: 4.848 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.5581, allocations: 77.11 kB / 1.004 GB, free: 4.754 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.5581, allocations: 1.5 kB / 1.004 GB, free: 4.754 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.175e-05/0.5582, allocations: 8.016 kB / 1.004 GB, free: 4.75 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.5582, allocations: 2.312 kB / 1.004 GB, free: 4.75 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002681/0.5585, allocations: 173.6 kB / 1.004 GB, free: 4.605 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002364/0.5587, allocations: 245.9 kB / 1.004 GB, free: 4.379 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.729e-05/0.5588, allocations: 30.31 kB / 1.004 GB, free: 4.363 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.358e-05/0.5589, allocations: 88.67 kB / 1.004 GB, free: 4.281 MB / 0.6857 GB Notification: Performance of Backend: time 2.9e-07/0.5589, allocations: 0 / 1.004 GB, free: 4.281 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004285/0.5593, allocations: 112.5 kB / 1.005 GB, free: 4.199 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0003053/0.5596, allocations: 0.5567 MB / 1.005 GB, free: 3.609 MB / 0.6857 GB Notification: Performance of Templates: time 0.002993/0.5626, allocations: 0.9753 MB / 1.006 GB, free: 3.121 MB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Examples.PowerLinearized.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Examples.PowerLinearized.sim & ./AixLib_latest_AixLib.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)