Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) 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/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) 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 AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Running command: translateModel(AixLib.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Airflow.Multizone.Examples.Orifice") translateModel(AixLib.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Airflow.Multizone.Examples.Orifice") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.52/1.52, allocations: 264.6 MB / 271.9 MB, free: 8.938 MB / 218.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 177.2 kB / 329.3 MB, free: 488 kB / 266.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 221.4 MB / 0.5937 GB, free: 14.59 MB / 458.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 92.62 kB / 0.6989 GB, free: 2.742 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.04915/0.04915, allocations: 11.89 MB / 0.8156 GB, free: 65.61 MB / 0.5418 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo:9:42-9:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004381/0.0004381, allocations: 19.69 kB / 0.9236 GB, free: 87.05 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 7.554e-06/7.584e-06, allocations: 0 / 1.039 GB, free: 9.293 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2351, allocations: 110.2 MB / 1.146 GB, free: 10.97 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.222/4.457, allocations: 1.896 GB / 3.042 GB, free: 294.3 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/4.458, allocations: 85.38 kB / 3.042 GB, free: 294.3 MB / 0.9324 GB Notification: Performance of FrontEnd: time 1.054/5.512, allocations: 359.9 MB / 3.394 GB, free: 228.5 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 3.309e-05/5.512, allocations: 14.34 kB / 3.394 GB, free: 228.5 MB / 0.9324 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001185/5.513, allocations: 0.7654 MB / 3.394 GB, free: 228 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/5.513, allocations: 7.5 kB / 3.394 GB, free: 228 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/5.514, allocations: 189.1 kB / 3.395 GB, free: 228 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006012/5.515, allocations: 409 kB / 3.395 GB, free: 227.8 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/5.515, allocations: 11.12 kB / 3.395 GB, free: 227.8 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/5.515, allocations: 20.08 kB / 3.395 GB, free: 227.8 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003984/5.515, allocations: 258.7 kB / 3.395 GB, free: 227.8 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005161/5.516, allocations: 340.2 kB / 3.396 GB, free: 227.7 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/5.516, allocations: 7.781 kB / 3.396 GB, free: 227.7 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/5.516, allocations: 1.594 kB / 3.396 GB, free: 227.7 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/5.516, allocations: 7.922 kB / 3.396 GB, free: 227.7 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/5.518, allocations: 1.63 MB / 3.397 GB, free: 226.7 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/5.518, allocations: 249.5 kB / 3.397 GB, free: 226.6 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/5.518, allocations: 126.9 kB / 3.397 GB, free: 226.6 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008734/5.519, allocations: 1.037 MB / 3.398 GB, free: 225.5 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/5.519, allocations: 38.31 kB / 3.399 GB, free: 225.5 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=25): time 2.675e-06/5.519, allocations: 1 kB / 3.399 GB, free: 225.5 MB / 0.9324 GB Notification: Performance of matching and sorting (n=25): time 0.001107/5.52, allocations: 322 kB / 3.399 GB, free: 225.4 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/5.52, allocations: 54.67 kB / 3.399 GB, free: 225.3 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/5.521, allocations: 251.5 kB / 3.399 GB, free: 225.2 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/5.521, allocations: 26.27 kB / 3.399 GB, free: 225.2 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/5.521, allocations: 174.1 kB / 3.399 GB, free: 225.1 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/5.521, allocations: 79.36 kB / 3.399 GB, free: 225.1 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/5.521, allocations: 1.406 kB / 3.399 GB, free: 225.1 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 7.649e-05/5.521, allocations: 351.6 kB / 3.4 GB, free: 224.7 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/5.521, allocations: 59.8 kB / 3.4 GB, free: 224.7 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/5.521, allocations: 112 kB / 3.4 GB, free: 224.7 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/5.522, allocations: 128 kB / 3.4 GB, free: 224.7 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/5.522, allocations: 0.5625 kB / 3.4 GB, free: 224.7 MB / 0.9324 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005611/5.522, allocations: 282.2 kB / 3.4 GB, free: 224.6 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/5.522, allocations: 5.75 kB / 3.4 GB, free: 224.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/5.522, allocations: 1.219 kB / 3.4 GB, free: 224.6 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/5.522, allocations: 1.375 kB / 3.4 GB, free: 224.6 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/5.523, allocations: 64.27 kB / 3.4 GB, free: 224.6 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/5.523, allocations: 2.969 kB / 3.4 GB, free: 224.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/5.523, allocations: 34.67 kB / 3.4 GB, free: 224.6 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/5.523, allocations: 12.98 kB / 3.4 GB, free: 224.6 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.927e-05/5.523, allocations: 106.6 kB / 3.4 GB, free: 224.5 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-05/5.523, allocations: 37.56 kB / 3.401 GB, free: 224.5 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006471/5.524, allocations: 293.2 kB / 3.401 GB, free: 224.5 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/5.524, allocations: 2.281 kB / 3.401 GB, free: 224.5 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/5.524, allocations: 3.219 kB / 3.401 GB, free: 224.5 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/5.524, allocations: 2.844 kB / 3.401 GB, free: 224.5 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/5.525, allocations: 0.7985 MB / 3.402 GB, free: 224.1 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/5.525, allocations: 8.375 kB / 3.402 GB, free: 224.1 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/5.525, allocations: 56.97 kB / 3.402 GB, free: 224.1 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/5.525, allocations: 4.984 kB / 3.402 GB, free: 224.1 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/5.525, allocations: 3.812 kB / 3.402 GB, free: 224.1 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/5.525, allocations: 4.25 kB / 3.402 GB, free: 224.1 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/5.525, allocations: 5.281 kB / 3.402 GB, free: 224.1 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000805/5.526, allocations: 0.6117 MB / 3.402 GB, free: 223.8 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/5.526, allocations: 137 kB / 3.402 GB, free: 223.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/5.526, allocations: 4.656 kB / 3.402 GB, free: 223.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/5.527, allocations: 27.34 kB / 3.402 GB, free: 223.6 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/5.527, allocations: 22.95 kB / 3.402 GB, free: 223.6 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/5.527, allocations: 11.98 kB / 3.402 GB, free: 223.6 MB / 0.9324 GB Notification: Performance of sort global known variables: time 0.0002108/5.527, allocations: 206.2 kB / 3.403 GB, free: 223.6 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.0008094/5.528, allocations: 204.7 kB / 3.403 GB, free: 223.5 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (ori.mExc,den1.d,den2.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00192/5.53, allocations: 1.377 MB / 3.404 GB, free: 223.2 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.0003281/5.53, allocations: 171.1 kB / 3.404 GB, free: 223.2 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/5.53, allocations: 0 / 3.404 GB, free: 223.2 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/5.53, allocations: 99.39 kB / 3.404 GB, free: 223.2 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008384/5.531, allocations: 143.2 kB / 3.405 GB, free: 223.2 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/5.533, allocations: 0.6549 MB / 3.405 GB, free: 223 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/5.533, allocations: 0.8728 MB / 3.406 GB, free: 222.3 MB / 0.9324 GB Notification: Performance of SimCode: time 3.51e-07/5.533, allocations: 0 / 3.406 GB, free: 222.3 MB / 0.9324 GB Notification: Performance of Templates: time 0.02277/5.556, allocations: 12.68 MB / 3.418 GB, free: 221.6 MB / 0.9324 GB make -j1 -f AixLib_AixLib.Airflow.Multizone.Examples.Orifice.makefile (rm -f AixLib_AixLib.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo AixLib_AixLib.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < AixLib_AixLib.Airflow.Multizone.Examples.Orifice.pipe >> ../files/AixLib_AixLib.Airflow.Multizone.Examples.Orifice.sim & ./AixLib_AixLib.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Airflow.Multizone.Examples.Orifice.pipe 2>&1)