Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Examples.RegNonZeroPower") translateModel(AixLib.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_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.001124/0.001124, allocations: 115 kB / 16.42 MB, free: 6.469 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.00115/0.00115, allocations: 187.9 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.424/1.424, allocations: 222.9 MB / 241.1 MB, free: 15.06 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.05768/0.05768, allocations: 12.04 MB / 303.3 MB, free: 3.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005825/0.0005825, allocations: 27.91 kB / 356.3 MB, free: 13.96 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.43 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002413/0.002413, allocations: 115.8 kB / 0.8936 GB, free: 15.04 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5167/0.5191, allocations: 109.1 MB / 1 GB, free: 8.191 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.RegNonZeroPower): time 0.002178/0.5213, allocations: 1.446 MB / 1.002 GB, free: 7.059 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0006307/0.522, allocations: 377.4 kB / 1.002 GB, free: 6.766 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.163e-05/0.522, allocations: 1.312 kB / 1.002 GB, free: 6.766 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.5221, allocations: 3.984 kB / 1.002 GB, free: 6.762 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 4.021e-05/0.5221, allocations: 3.938 kB / 1.002 GB, free: 6.758 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.5225, allocations: 123.5 kB / 1.002 GB, free: 6.684 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 5.857e-05/0.5226, allocations: 22.02 kB / 1.002 GB, free: 6.672 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.5227, allocations: 11.05 kB / 1.002 GB, free: 6.668 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 4.159e-05/0.5227, allocations: 7.188 kB / 1.002 GB, free: 6.664 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 4.035e-05/0.5228, allocations: 18.94 kB / 1.002 GB, free: 6.648 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.5228, allocations: 6.156 kB / 1.002 GB, free: 6.645 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000341/0.5231, allocations: 279.9 kB / 1.002 GB, free: 6.488 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.5231, allocations: 4.906 kB / 1.002 GB, free: 6.484 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.5232, allocations: 10.28 kB / 1.002 GB, free: 6.477 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.5233, allocations: 107.5 kB / 1.002 GB, free: 6.402 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5234, allocations: 1.188 kB / 1.002 GB, free: 6.402 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5234, allocations: 0 / 1.002 GB, free: 6.402 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.5234, allocations: 0 / 1.002 GB, free: 6.402 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.0003995/0.5238, allocations: 363.5 kB / 1.003 GB, free: 6.016 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.5238, allocations: 9.5 kB / 1.003 GB, free: 6.016 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.5239, allocations: 1.906 kB / 1.003 GB, free: 6.016 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.268e-05/0.524, allocations: 181.4 kB / 1.003 GB, free: 5.805 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.524, allocations: 1.344 kB / 1.003 GB, free: 5.805 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.524, allocations: 1.531 kB / 1.003 GB, free: 5.805 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.5242, allocations: 49.42 kB / 1.003 GB, free: 5.762 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.5242, allocations: 1.531 kB / 1.003 GB, free: 5.762 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.5242, allocations: 3.938 kB / 1.003 GB, free: 5.758 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5242, allocations: 0 / 1.003 GB, free: 5.758 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.5244, allocations: 39.69 kB / 1.003 GB, free: 5.738 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.5247, allocations: 249.9 kB / 1.003 GB, free: 5.453 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.5248, allocations: 40.25 kB / 1.003 GB, free: 5.418 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.253e-05/0.5249, allocations: 30.36 kB / 1.003 GB, free: 5.395 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005579/0.5254, allocations: 459.6 kB / 1.004 GB, free: 4.898 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.5255, allocations: 31.91 kB / 1.004 GB, free: 4.859 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.5255, allocations: 3.938 kB / 1.004 GB, free: 4.855 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2): time 0.0003374/0.5258, allocations: 85.89 kB / 1.004 GB, free: 4.797 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.377e-05/0.5258, allocations: 52.5 kB / 1.004 GB, free: 4.734 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.271e-05/0.5259, allocations: 104.5 kB / 1.004 GB, free: 4.629 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.5259, allocations: 26.83 kB / 1.004 GB, free: 4.598 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.762e-05/0.5259, allocations: 85.14 kB / 1.004 GB, free: 4.512 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.526, allocations: 5.094 kB / 1.004 GB, free: 4.508 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.526, allocations: 16.03 kB / 1.004 GB, free: 4.488 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.845e-05/0.526, allocations: 315.9 kB / 1.005 GB, free: 4.172 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.607e-05/0.5261, allocations: 17.55 kB / 1.005 GB, free: 4.164 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.338e-05/0.5262, allocations: 17.83 kB / 1.005 GB, free: 4.156 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.5263, allocations: 44 kB / 1.005 GB, free: 4.129 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5263, allocations: 4.062 kB / 1.005 GB, free: 4.125 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001777/0.5265, allocations: 69.95 kB / 1.005 GB, free: 4.074 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.5265, allocations: 7.25 kB / 1.005 GB, free: 4.074 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.5266, allocations: 3.984 kB / 1.005 GB, free: 4.07 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.5266, allocations: 0 / 1.005 GB, free: 4.07 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.674e-05/0.5267, allocations: 10.77 kB / 1.005 GB, free: 4.066 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.5267, allocations: 0 / 1.005 GB, free: 4.066 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.389e-05/0.5267, allocations: 7.859 kB / 1.005 GB, free: 4.062 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.5267, allocations: 5.094 kB / 1.005 GB, free: 4.059 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.73e-05/0.5268, allocations: 111.8 kB / 1.005 GB, free: 3.941 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.5268, allocations: 6.375 kB / 1.005 GB, free: 3.938 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.527, allocations: 76.22 kB / 1.005 GB, free: 3.875 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.527, allocations: 0 / 1.005 GB, free: 3.875 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.527, allocations: 0 / 1.005 GB, free: 3.875 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.5271, allocations: 90.06 kB / 1.005 GB, free: 3.77 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.5271, allocations: 1.469 kB / 1.005 GB, free: 3.77 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.5272, allocations: 7.125 kB / 1.005 GB, free: 3.766 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.5272, allocations: 6.234 kB / 1.005 GB, free: 3.762 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002061/0.5274, allocations: 150 kB / 1.005 GB, free: 3.633 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002089/0.5276, allocations: 243.3 kB / 1.005 GB, free: 3.402 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.775e-05/0.5277, allocations: 18.11 kB / 1.005 GB, free: 3.395 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.497e-05/0.5278, allocations: 88.83 kB / 1.005 GB, free: 3.312 MB / 0.6857 GB Notification: Performance of Backend: time 3.6e-07/0.5278, allocations: 0 / 1.005 GB, free: 3.312 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004932/0.5283, allocations: 140.3 kB / 1.006 GB, free: 3.219 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0003468/0.5286, allocations: 0.5572 MB / 1.006 GB, free: 2.629 MB / 0.6857 GB Notification: Performance of Templates: time 0.003489/0.5321, allocations: 1.397 MB / 1.008 GB, free: 1.926 MB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Examples.RegNonZeroPower.sim & ./AixLib_latest_AixLib.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)