Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.001156, allocations: 110.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.001151/0.001151, allocations: 189.6 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.362/1.362, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.05822/0.05822, allocations: 12.04 MB / 303.2 MB, free: 3.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005091/0.0005091, allocations: 23.94 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 1.92/1.92, allocations: 272.3 MB / 0.6657 GB, free: 18.29 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 111.8 kB / 0.8935 GB, free: 15.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5139/0.5162, allocations: 109.2 MB / 1 GB, free: 8.199 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002042/0.5182, allocations: 1.257 MB / 1.001 GB, free: 7.207 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0002574/0.5185, allocations: 113.7 kB / 1.001 GB, free: 7.117 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.451e-05/0.5185, allocations: 1.062 kB / 1.001 GB, free: 7.117 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.5186, allocations: 3.984 kB / 1.001 GB, free: 7.113 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 6.046e-05/0.5186, allocations: 4.875 kB / 1.001 GB, free: 7.109 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.5188, allocations: 42.62 kB / 1.002 GB, free: 7.082 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 4.973e-05/0.5189, allocations: 11.06 kB / 1.002 GB, free: 7.078 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 4.239e-05/0.519, allocations: 5.094 kB / 1.002 GB, free: 7.074 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 1.854e-05/0.519, allocations: 7.531 kB / 1.002 GB, free: 7.07 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 4.662e-05/0.519, allocations: 10.83 kB / 1.002 GB, free: 7.062 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.519, allocations: 1.594 kB / 1.002 GB, free: 7.062 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.5192, allocations: 47.12 kB / 1.002 GB, free: 7.039 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.5192, allocations: 1.344 kB / 1.002 GB, free: 7.039 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.5192, allocations: 14.17 kB / 1.002 GB, free: 7.027 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.5193, allocations: 37.72 kB / 1.002 GB, free: 7.008 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5193, allocations: 0 / 1.002 GB, free: 7.008 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.153e-06/0.5193, allocations: 9 kB / 1.002 GB, free: 7 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.5194, allocations: 0 / 1.002 GB, free: 7 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002795/0.5196, allocations: 329.9 kB / 1.002 GB, free: 6.641 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.5197, allocations: 12.47 kB / 1.002 GB, free: 6.637 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.5197, allocations: 6 kB / 1.002 GB, free: 6.633 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.971e-05/0.5198, allocations: 161.6 kB / 1.002 GB, free: 6.438 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.5198, allocations: 1.5 kB / 1.002 GB, free: 6.438 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.5198, allocations: 384 / 1.002 GB, free: 6.438 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.655e-05/0.5199, allocations: 40.97 kB / 1.002 GB, free: 6.395 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.5199, allocations: 5.078 kB / 1.002 GB, free: 6.391 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.5199, allocations: 0 / 1.002 GB, free: 6.391 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.5199, allocations: 1.188 kB / 1.002 GB, free: 6.391 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.895e-05/0.52, allocations: 6.844 kB / 1.002 GB, free: 6.387 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.5201, allocations: 148.6 kB / 1.002 GB, free: 6.195 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 4.203e-05/0.5201, allocations: 28.05 kB / 1.002 GB, free: 6.164 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.671e-05/0.5202, allocations: 8.672 kB / 1.002 GB, free: 6.156 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000605/0.5208, allocations: 0.6113 MB / 1.003 GB, free: 5.465 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.382e-05/0.5208, allocations: 34.56 kB / 1.003 GB, free: 5.422 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=2): time 1.582e-06/0.5208, allocations: 1.531 kB / 1.003 GB, free: 5.422 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2): time 0.0001319/0.5209, allocations: 38.14 kB / 1.003 GB, free: 5.387 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.327e-05/0.521, allocations: 56.67 kB / 1.003 GB, free: 5.32 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.07e-05/0.521, allocations: 97.36 kB / 1.003 GB, free: 5.219 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 6.872e-06/0.521, allocations: 30.89 kB / 1.003 GB, free: 5.184 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 1.465e-05/0.521, allocations: 80.14 kB / 1.003 GB, free: 5.102 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.5211, allocations: 8.266 kB / 1.003 GB, free: 5.098 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.5211, allocations: 15.94 kB / 1.003 GB, free: 5.078 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.087e-05/0.5211, allocations: 315.8 kB / 1.004 GB, free: 4.762 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.274e-05/0.5212, allocations: 2.188 kB / 1.004 GB, free: 4.762 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.001e-05/0.5212, allocations: 6.312 kB / 1.004 GB, free: 4.758 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.948e-05/0.5212, allocations: 18.2 kB / 1.004 GB, free: 4.742 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5212, allocations: 0 / 1.004 GB, free: 4.742 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.503e-05/0.5213, allocations: 43.48 kB / 1.004 GB, free: 4.703 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.5213, allocations: 8.234 kB / 1.004 GB, free: 4.699 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.5213, allocations: 1.094 kB / 1.004 GB, free: 4.699 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.5213, allocations: 3.938 kB / 1.004 GB, free: 4.695 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.127e-05/0.5214, allocations: 7.312 kB / 1.004 GB, free: 4.691 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.5214, allocations: 0 / 1.004 GB, free: 4.691 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.025e-05/0.5214, allocations: 4.938 kB / 1.004 GB, free: 4.688 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.5214, allocations: 0.9375 kB / 1.004 GB, free: 4.688 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.27e-05/0.5215, allocations: 111.6 kB / 1.004 GB, free: 4.57 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.5215, allocations: 5.031 kB / 1.004 GB, free: 4.566 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.26e-05/0.5216, allocations: 49.38 kB / 1.004 GB, free: 4.52 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.5216, allocations: 1.906 kB / 1.004 GB, free: 4.52 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5216, allocations: 0 / 1.004 GB, free: 4.52 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.5216, allocations: 77.11 kB / 1.004 GB, free: 4.426 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.5216, allocations: 5.812 kB / 1.004 GB, free: 4.422 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.784e-05/0.5217, allocations: 3.938 kB / 1.004 GB, free: 4.418 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.5217, allocations: 8.016 kB / 1.004 GB, free: 4.41 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.158e-05/0.5217, allocations: 121.2 kB / 1.004 GB, free: 4.293 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.516e-05/0.5218, allocations: 208.5 kB / 1.004 GB, free: 4.082 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.917e-05/0.5219, allocations: 6.281 kB / 1.004 GB, free: 4.078 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.003e-05/0.5219, allocations: 82.69 kB / 1.004 GB, free: 4 MB / 0.6857 GB Notification: Performance of Backend: time 5.11e-07/0.5219, allocations: 0 / 1.004 GB, free: 4 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0003731/0.5223, allocations: 98.52 kB / 1.004 GB, free: 3.922 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0003755/0.5227, allocations: 0.5519 MB / 1.005 GB, free: 3.34 MB / 0.6857 GB Notification: Performance of Templates: time 0.002612/0.5253, allocations: 0.6484 MB / 1.006 GB, free: 3.012 MB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f AixLib_latest_AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo AixLib_latest_AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < AixLib_latest_AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/AixLib_latest_AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./AixLib_latest_AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)