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.001401/0.001401, allocations: 115.3 kB / 16.42 MB, free: 6.496 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.001591/0.001591, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.2 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.06209/0.06209, allocations: 12.06 MB / 303.3 MB, free: 3.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005394/0.0005393, allocations: 35.88 kB / 356.3 MB, free: 13.98 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.968/1.968, allocations: 272.3 MB / 0.6657 GB, free: 18.32 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002423/0.002423, allocations: 115.8 kB / 0.8935 GB, free: 15.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6043/0.6067, allocations: 109.1 MB / 1 GB, free: 8.27 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.PowerLinearized): time 0.002347/0.6091, allocations: 1.441 MB / 1.002 GB, free: 7.145 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0002606/0.6094, allocations: 97.23 kB / 1.002 GB, free: 7.066 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.6095, allocations: 0 / 1.002 GB, free: 7.066 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.6095, allocations: 1.062 kB / 1.002 GB, free: 7.066 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 4.014e-05/0.6095, allocations: 3.938 kB / 1.002 GB, free: 7.062 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.6098, allocations: 21.28 kB / 1.002 GB, free: 7.047 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 7.55e-05/0.6098, allocations: 18 kB / 1.002 GB, free: 7.039 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.6099, allocations: 18.62 kB / 1.002 GB, free: 7.023 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 3.963e-05/0.61, allocations: 11.94 kB / 1.002 GB, free: 7.016 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 4.207e-05/0.61, allocations: 11.33 kB / 1.002 GB, free: 7.008 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.6101, allocations: 6.188 kB / 1.002 GB, free: 7.004 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 6.06e-05/0.6101, allocations: 16.39 kB / 1.002 GB, free: 6.996 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.6101, allocations: 5.203 kB / 1.002 GB, free: 6.992 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.6102, allocations: 10.22 kB / 1.002 GB, free: 6.984 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.6103, allocations: 33.23 kB / 1.002 GB, free: 6.961 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6103, allocations: 0 / 1.002 GB, free: 6.961 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6103, allocations: 0 / 1.002 GB, free: 6.961 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.6103, allocations: 5.219 kB / 1.002 GB, free: 6.957 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.0003817/0.6107, allocations: 341.2 kB / 1.002 GB, free: 6.59 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.6108, allocations: 8.688 kB / 1.002 GB, free: 6.59 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.6109, allocations: 12.77 kB / 1.002 GB, free: 6.586 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.931e-05/0.611, allocations: 173.4 kB / 1.002 GB, free: 6.379 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.611, allocations: 1.469 kB / 1.002 GB, free: 6.379 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.6111, allocations: 1.438 kB / 1.002 GB, free: 6.379 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.6112, allocations: 66.23 kB / 1.002 GB, free: 6.324 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.6113, allocations: 192 / 1.002 GB, free: 6.324 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.6113, allocations: 3.938 kB / 1.002 GB, free: 6.32 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.6113, allocations: 9.094 kB / 1.002 GB, free: 6.312 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.6115, allocations: 46.69 kB / 1.002 GB, free: 6.293 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.6118, allocations: 259 kB / 1.003 GB, free: 6.004 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.612, allocations: 58.97 kB / 1.003 GB, free: 5.957 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.6121, allocations: 25.97 kB / 1.003 GB, free: 5.941 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.6121, allocations: 1.469 kB / 1.003 GB, free: 5.941 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.6121, allocations: 34.5 kB / 1.003 GB, free: 5.898 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6121, allocations: 5.469 kB / 1.003 GB, free: 5.895 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2): time 0.0003979/0.6126, allocations: 103 kB / 1.003 GB, free: 5.828 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.795e-05/0.6126, allocations: 56.61 kB / 1.003 GB, free: 5.762 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.166e-05/0.6126, allocations: 104.5 kB / 1.003 GB, free: 5.656 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.6127, allocations: 26.95 kB / 1.003 GB, free: 5.625 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.6127, allocations: 93.66 kB / 1.003 GB, free: 5.531 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.6127, allocations: 5.297 kB / 1.003 GB, free: 5.527 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.6128, allocations: 15 kB / 1.003 GB, free: 5.508 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.788e-05/0.6128, allocations: 316 kB / 1.003 GB, free: 5.191 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.74e-05/0.6129, allocations: 25 kB / 1.004 GB, free: 5.18 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.641e-05/0.613, allocations: 22.17 kB / 1.004 GB, free: 5.172 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.6132, allocations: 58.77 kB / 1.004 GB, free: 5.137 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6132, allocations: 0 / 1.004 GB, free: 5.137 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002121/0.6134, allocations: 80.81 kB / 1.004 GB, free: 5.082 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.6134, allocations: 5.125 kB / 1.004 GB, free: 5.082 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.6134, allocations: 0 / 1.004 GB, free: 5.082 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.6135, allocations: 4.031 kB / 1.004 GB, free: 5.078 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.6136, allocations: 11.27 kB / 1.004 GB, free: 5.074 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.6136, allocations: 1.094 kB / 1.004 GB, free: 5.074 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.016e-05/0.6137, allocations: 8.516 kB / 1.004 GB, free: 5.07 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.6137, allocations: 1.219 kB / 1.004 GB, free: 5.07 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.904e-05/0.6137, allocations: 111.5 kB / 1.004 GB, free: 4.953 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.6137, allocations: 6.25 kB / 1.004 GB, free: 4.949 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.6138, allocations: 12.8 kB / 1.004 GB, free: 4.934 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.6138, allocations: 0 / 1.004 GB, free: 4.934 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6138, allocations: 3.938 kB / 1.004 GB, free: 4.93 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.6138, allocations: 82.03 kB / 1.004 GB, free: 4.832 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.6138, allocations: 1.125 kB / 1.004 GB, free: 4.832 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.08e-05/0.6139, allocations: 8.891 kB / 1.004 GB, free: 4.828 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.614, allocations: 5.312 kB / 1.004 GB, free: 4.824 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002723/0.6143, allocations: 166.1 kB / 1.004 GB, free: 4.688 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002501/0.6145, allocations: 250 kB / 1.004 GB, free: 4.457 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001005/0.6146, allocations: 29.75 kB / 1.004 GB, free: 4.441 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.766e-05/0.6147, allocations: 89.22 kB / 1.004 GB, free: 4.359 MB / 0.6857 GB Notification: Performance of Backend: time 3.11e-07/0.6147, allocations: 0 / 1.004 GB, free: 4.359 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004676/0.6151, allocations: 102.7 kB / 1.005 GB, free: 4.285 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0003917/0.6155, allocations: 0.5572 MB / 1.005 GB, free: 3.695 MB / 0.6857 GB Notification: Performance of Templates: time 0.003116/0.6187, allocations: 0.9805 MB / 1.006 GB, free: 3.203 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)