Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor.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.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(AixLib.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.0009738/0.0009738, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.259/1.259, allocations: 222.9 MB / 241 MB, free: 15.18 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.05612/0.05612, allocations: 12.04 MB / 303.3 MB, free: 3.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005322/0.0005322, allocations: 23.91 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.807/1.807, allocations: 272.3 MB / 0.6657 GB, free: 18.32 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 111.8 kB / 0.8935 GB, free: 15.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4404, allocations: 109.2 MB / 1 GB, free: 8.23 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002392/0.4429, allocations: 1.947 MB / 1.002 GB, free: 6.711 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0008995/0.4438, allocations: 0.7044 MB / 1.003 GB, free: 6.152 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.204e-05/0.4439, allocations: 6.344 kB / 1.003 GB, free: 6.148 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.4441, allocations: 85.67 kB / 1.003 GB, free: 6.098 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.4442, allocations: 80.83 kB / 1.003 GB, free: 6.055 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.4446, allocations: 194.7 kB / 1.003 GB, free: 5.914 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.4449, allocations: 265.8 kB / 1.003 GB, free: 5.762 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.445, allocations: 66.05 kB / 1.003 GB, free: 5.723 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.4451, allocations: 118 kB / 1.003 GB, free: 5.652 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.4453, allocations: 152 kB / 1.004 GB, free: 5.566 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 3.874e-05/0.4453, allocations: 20.47 kB / 1.004 GB, free: 5.566 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.4455, allocations: 97.3 kB / 1.004 GB, free: 5.523 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 6.315e-05/0.4455, allocations: 62.45 kB / 1.004 GB, free: 5.477 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 7.758e-05/0.4456, allocations: 101 kB / 1.004 GB, free: 5.398 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.4459, allocations: 314.7 kB / 1.004 GB, free: 5.176 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4459, allocations: 0 / 1.004 GB, free: 5.176 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4459, allocations: 0 / 1.004 GB, free: 5.176 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.4459, allocations: 1.25 kB / 1.004 GB, free: 5.176 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006543/0.4466, allocations: 0.5792 MB / 1.005 GB, free: 4.633 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.4466, allocations: 8.094 kB / 1.005 GB, free: 4.633 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.4467, allocations: 31.84 kB / 1.005 GB, free: 4.617 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.4471, allocations: 305.7 kB / 1.005 GB, free: 4.324 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.4471, allocations: 11.12 kB / 1.005 GB, free: 4.32 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.4471, allocations: 14.09 kB / 1.005 GB, free: 4.316 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.4475, allocations: 233.9 kB / 1.005 GB, free: 4.148 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4475, allocations: 0 / 1.005 GB, free: 4.148 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.4475, allocations: 10.47 kB / 1.005 GB, free: 4.141 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4475, allocations: 3.375 kB / 1.005 GB, free: 4.141 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.4477, allocations: 138.8 kB / 1.005 GB, free: 4.078 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006225/0.4484, allocations: 0.6775 MB / 1.006 GB, free: 3.445 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.4487, allocations: 167 kB / 1.006 GB, free: 3.355 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.4488, allocations: 99.73 kB / 1.006 GB, free: 3.309 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.4489, allocations: 1.125 kB / 1.006 GB, free: 3.309 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.4491, allocations: 171.2 kB / 1.007 GB, free: 3.18 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=15): time 2.224e-06/0.4491, allocations: 0 / 1.007 GB, free: 3.18 MB / 0.6857 GB Notification: Performance of matching and sorting (n=15): time 0.0005721/0.4497, allocations: 380.2 kB / 1.007 GB, free: 2.996 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.4497, allocations: 131.9 kB / 1.007 GB, free: 2.84 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.4499, allocations: 284.2 kB / 1.007 GB, free: 2.656 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.4499, allocations: 28.58 kB / 1.007 GB, free: 2.625 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 6.803e-05/0.45, allocations: 163.1 kB / 1.008 GB, free: 2.477 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.4501, allocations: 37.14 kB / 1.008 GB, free: 2.445 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.4501, allocations: 41.45 kB / 1.008 GB, free: 2.414 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.57e-05/0.4502, allocations: 338.7 kB / 1.008 GB, free: 2.082 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.4503, allocations: 82.98 kB / 1.008 GB, free: 2.051 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.4505, allocations: 145.2 kB / 1.008 GB, free: 1.949 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.4508, allocations: 238 kB / 1.008 GB, free: 1.793 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.4508, allocations: 1.25 kB / 1.008 GB, free: 1.793 MB / 0.6857 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004205/0.4512, allocations: 342.7 kB / 1.009 GB, free: 1.617 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.4512, allocations: 39.5 kB / 1.009 GB, free: 1.582 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4512, allocations: 1.031 kB / 1.009 GB, free: 1.582 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.4513, allocations: 2.219 kB / 1.009 GB, free: 1.582 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.4514, allocations: 21.64 kB / 1.009 GB, free: 1.578 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.4514, allocations: 2.375 kB / 1.009 GB, free: 1.578 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.4515, allocations: 26.52 kB / 1.009 GB, free: 1.562 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.4515, allocations: 5.156 kB / 1.009 GB, free: 1.562 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001189/0.4517, allocations: 202.8 kB / 1.009 GB, free: 1.379 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.4517, allocations: 25.06 kB / 1.009 GB, free: 1.367 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.649e-05/0.4517, allocations: 30.52 kB / 1.009 GB, free: 1.348 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4518, allocations: 1.375 kB / 1.009 GB, free: 1.348 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.4518, allocations: 0 / 1.009 GB, free: 1.348 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.4518, allocations: 94.23 kB / 1.009 GB, free: 1.242 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.4518, allocations: 8.5 kB / 1.009 GB, free: 1.238 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.452, allocations: 19.89 kB / 1.009 GB, free: 1.227 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.452, allocations: 30.39 kB / 1.009 GB, free: 1.207 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006351/0.4527, allocations: 495.9 kB / 1.01 GB, free: 0.8828 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006099/0.4533, allocations: 0.5958 MB / 1.01 GB, free: 0.5 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001653/0.4535, allocations: 123.8 kB / 1.01 GB, free: 452 kB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.0001414/0.4536, allocations: 206.2 kB / 1.011 GB, free: 312 kB / 0.6857 GB Notification: Performance of Backend: time 2.1e-07/0.4536, allocations: 0 / 1.011 GB, free: 312 kB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.000579/0.4542, allocations: 313.2 kB / 1.011 GB, free: 100 kB / 0.6857 GB Notification: Performance of SimCode: time 0.0008185/0.455, allocations: 0.913 MB / 1.012 GB, free: 15.27 MB / 0.7013 GB Notification: Performance of Templates: time 0.00594/0.461, allocations: 3.065 MB / 1.015 GB, free: 13.77 MB / 0.7013 GB make -j1 -f AixLib_latest_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f AixLib_latest_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo AixLib_latest_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/AixLib_latest_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./AixLib_latest_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)