Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(AixLib.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_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.001175/0.001175, allocations: 112.8 kB / 16.42 MB, free: 6.016 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.00112/0.00112, allocations: 192.9 kB / 17.35 MB, free: 5.617 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.194/1.194, allocations: 222.9 MB / 241 MB, free: 15.14 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.05353/0.05353, allocations: 12.05 MB / 303.3 MB, free: 3.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004446/0.0004447, allocations: 23.91 kB / 356.3 MB, free: 13.96 MB / 302.1 MB [/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/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.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/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/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_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/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/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/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/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.3.2/package.mo): time 1.383/1.383, allocations: 268.2 MB / 0.6617 GB, free: 2.59 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 107.8 kB / 0.888 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4324, allocations: 108.4 MB / 0.9938 GB, free: 11.92 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002338/0.4347, allocations: 1.94 MB / 0.9957 GB, free: 10.4 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0008603/0.4356, allocations: 0.6968 MB / 0.9964 GB, free: 9.848 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.057e-05/0.4357, allocations: 6.25 kB / 0.9964 GB, free: 9.844 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.4359, allocations: 94.31 kB / 0.9965 GB, free: 9.785 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.436, allocations: 84.73 kB / 0.9966 GB, free: 9.738 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.4364, allocations: 187.4 kB / 0.9968 GB, free: 9.605 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.4367, allocations: 273.9 kB / 0.997 GB, free: 9.445 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.4368, allocations: 69.91 kB / 0.9971 GB, free: 9.402 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.4369, allocations: 117.8 kB / 0.9972 GB, free: 9.332 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.4371, allocations: 144.4 kB / 0.9973 GB, free: 9.254 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.4371, allocations: 19.88 kB / 0.9974 GB, free: 9.254 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.4372, allocations: 93.55 kB / 0.9974 GB, free: 9.215 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 5.925e-05/0.4373, allocations: 62.25 kB / 0.9975 GB, free: 9.168 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 8.118e-05/0.4374, allocations: 109.5 kB / 0.9976 GB, free: 9.082 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.4377, allocations: 313.5 kB / 0.9979 GB, free: 8.859 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.4377, allocations: 0 / 0.9979 GB, free: 8.859 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4377, allocations: 1.562 kB / 0.9979 GB, free: 8.859 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.4377, allocations: 0 / 0.9979 GB, free: 8.859 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.0006163/0.4383, allocations: 0.5874 MB / 0.9985 GB, free: 8.305 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.4384, allocations: 8.75 kB / 0.9985 GB, free: 8.305 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.4384, allocations: 30.84 kB / 0.9985 GB, free: 8.289 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.4388, allocations: 302.1 kB / 0.9988 GB, free: 8 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.4388, allocations: 12.09 kB / 0.9988 GB, free: 7.996 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.4388, allocations: 17.62 kB / 0.9988 GB, free: 7.988 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.4392, allocations: 233.8 kB / 0.9991 GB, free: 7.82 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.4392, allocations: 0 / 0.9991 GB, free: 7.82 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.4392, allocations: 6.25 kB / 0.9991 GB, free: 7.816 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.4392, allocations: 3.281 kB / 0.9991 GB, free: 7.816 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.4394, allocations: 135.1 kB / 0.9992 GB, free: 7.758 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005828/0.44, allocations: 0.6814 MB / 0.9999 GB, free: 7.121 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.4403, allocations: 172.4 kB / 1 GB, free: 7.027 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.4405, allocations: 103 kB / 1 GB, free: 6.977 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.4405, allocations: 1.156 kB / 1 GB, free: 6.977 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/0.4407, allocations: 167.4 kB / 1 GB, free: 6.852 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=15): time 1.482e-06/0.4407, allocations: 0 / 1 GB, free: 6.852 MB / 0.6857 GB Notification: Performance of matching and sorting (n=15): time 0.0005488/0.4412, allocations: 388.3 kB / 1.001 GB, free: 6.66 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.4413, allocations: 137.1 kB / 1.001 GB, free: 6.5 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.4415, allocations: 279.9 kB / 1.001 GB, free: 6.316 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.4415, allocations: 31.7 kB / 1.001 GB, free: 6.281 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.4416, allocations: 154.5 kB / 1.001 GB, free: 6.141 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.4416, allocations: 46.42 kB / 1.001 GB, free: 6.102 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.4417, allocations: 41.14 kB / 1.001 GB, free: 6.07 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.451e-05/0.4417, allocations: 338.4 kB / 1.002 GB, free: 5.738 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.4419, allocations: 91.11 kB / 1.002 GB, free: 5.699 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.442, allocations: 131.9 kB / 1.002 GB, free: 5.609 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.4423, allocations: 248.5 kB / 1.002 GB, free: 5.441 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4423, allocations: 0 / 1.002 GB, free: 5.441 MB / 0.6857 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000421/0.4427, allocations: 336.3 kB / 1.002 GB, free: 5.273 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.4428, allocations: 39.59 kB / 1.002 GB, free: 5.238 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.4428, allocations: 5.25 kB / 1.002 GB, free: 5.234 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.4428, allocations: 2.438 kB / 1.002 GB, free: 5.234 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.4429, allocations: 25.67 kB / 1.002 GB, free: 5.227 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.4429, allocations: 1.188 kB / 1.002 GB, free: 5.227 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.443, allocations: 18.44 kB / 1.002 GB, free: 5.219 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.4431, allocations: 10.81 kB / 1.003 GB, free: 5.215 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.0001108/0.4432, allocations: 197.2 kB / 1.003 GB, free: 5.035 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.4432, allocations: 33.84 kB / 1.003 GB, free: 5.016 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.397e-05/0.4433, allocations: 30.62 kB / 1.003 GB, free: 4.996 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.4433, allocations: 0 / 1.003 GB, free: 4.996 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4433, allocations: 1.406 kB / 1.003 GB, free: 4.996 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.4433, allocations: 98.78 kB / 1.003 GB, free: 4.887 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.4433, allocations: 8.344 kB / 1.003 GB, free: 4.883 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.655e-05/0.4434, allocations: 15.17 kB / 1.003 GB, free: 4.875 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.4435, allocations: 26.11 kB / 1.003 GB, free: 4.859 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006118/0.4441, allocations: 492.4 kB / 1.003 GB, free: 4.539 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005842/0.4447, allocations: 0.6009 MB / 1.004 GB, free: 4.152 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001589/0.4449, allocations: 127.8 kB / 1.004 GB, free: 4.09 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.0001347/0.445, allocations: 205.9 kB / 1.004 GB, free: 3.953 MB / 0.6857 GB Notification: Performance of Backend: time 2e-07/0.445, allocations: 0 / 1.004 GB, free: 3.953 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0005529/0.4456, allocations: 302.9 kB / 1.005 GB, free: 3.754 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0006052/0.4462, allocations: 0.9245 MB / 1.005 GB, free: 2.918 MB / 0.6857 GB Notification: Performance of Templates: time 0.005028/0.4512, allocations: 3.052 MB / 1.008 GB, free: 1.426 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f AixLib_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo AixLib_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/AixLib_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./AixLib_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)