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.001142/0.001142, allocations: 113.9 kB / 16.42 MB, free: 6.008 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.001105/0.001105, allocations: 187.2 kB / 17.35 MB, free: 5.625 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.169/1.169, allocations: 222.9 MB / 241 MB, free: 15.16 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.05146/0.05146, allocations: 12.05 MB / 303.3 MB, free: 3.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004354/0.0004353, allocations: 31.94 kB / 356.3 MB, free: 13.98 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.357/1.357, allocations: 268.2 MB / 0.6617 GB, free: 2.625 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 116.3 kB / 0.888 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4202, allocations: 108.4 MB / 0.9938 GB, free: 1.316 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002866/0.4231, allocations: 1.951 MB / 0.9957 GB, free: 15.36 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.4242, allocations: 0.7024 MB / 0.9964 GB, free: 14.65 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.4243, allocations: 7.938 kB / 0.9964 GB, free: 14.64 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.4245, allocations: 79.69 kB / 0.9965 GB, free: 14.56 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.4247, allocations: 95.58 kB / 0.9966 GB, free: 14.47 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.4252, allocations: 179.7 kB / 0.9968 GB, free: 14.29 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.4254, allocations: 267.4 kB / 0.997 GB, free: 14.03 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.4256, allocations: 73.86 kB / 0.9971 GB, free: 13.96 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.4257, allocations: 119.6 kB / 0.9972 GB, free: 13.84 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.4259, allocations: 143.5 kB / 0.9973 GB, free: 13.7 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.426, allocations: 23.94 kB / 0.9974 GB, free: 13.68 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.4261, allocations: 95.92 kB / 0.9974 GB, free: 13.58 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 7.248e-05/0.4262, allocations: 55.83 kB / 0.9975 GB, free: 13.53 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 9.333e-05/0.4263, allocations: 119.3 kB / 0.9976 GB, free: 13.41 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.4266, allocations: 307 kB / 0.9979 GB, free: 13.11 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4266, allocations: 0 / 0.9979 GB, free: 13.11 MB / 0.6857 GB Notification: Performance of FrontEnd: time 8.41e-07/0.4266, allocations: 3.938 kB / 0.9979 GB, free: 13.11 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.4266, allocations: 0 / 0.9979 GB, free: 13.11 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.0007571/0.4274, allocations: 0.5741 MB / 0.9985 GB, free: 12.48 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.4274, allocations: 12.03 kB / 0.9985 GB, free: 12.46 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.145e-05/0.4275, allocations: 28.56 kB / 0.9985 GB, free: 12.44 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004393/0.428, allocations: 302.9 kB / 0.9988 GB, free: 12.1 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.428, allocations: 12.38 kB / 0.9988 GB, free: 12.09 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.428, allocations: 12.38 kB / 0.9988 GB, free: 12.08 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.4284, allocations: 235.2 kB / 0.999 GB, free: 11.82 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4284, allocations: 3.938 kB / 0.999 GB, free: 11.82 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.4284, allocations: 8 kB / 0.9991 GB, free: 11.81 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4284, allocations: 4 kB / 0.9991 GB, free: 11.81 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.4287, allocations: 128.4 kB / 0.9992 GB, free: 11.68 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007486/0.4294, allocations: 0.6807 MB / 0.9998 GB, free: 10.95 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003273/0.4298, allocations: 166.5 kB / 1 GB, free: 10.77 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.4299, allocations: 104.9 kB / 1 GB, free: 10.67 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.43, allocations: 0 / 1 GB, free: 10.67 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/0.4302, allocations: 177.1 kB / 1 GB, free: 10.48 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=15): time 1.933e-06/0.4302, allocations: 0 / 1 GB, free: 10.48 MB / 0.6857 GB Notification: Performance of matching and sorting (n=15): time 0.0006001/0.4308, allocations: 377 kB / 1.001 GB, free: 10.1 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.4309, allocations: 136.5 kB / 1.001 GB, free: 9.934 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.4311, allocations: 282.6 kB / 1.001 GB, free: 9.648 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.4312, allocations: 33.7 kB / 1.001 GB, free: 9.609 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 8.818e-05/0.4313, allocations: 152.2 kB / 1.001 GB, free: 9.453 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.4313, allocations: 47.44 kB / 1.001 GB, free: 9.406 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/0.4314, allocations: 41.7 kB / 1.001 GB, free: 9.359 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4315, allocations: 334.8 kB / 1.002 GB, free: 9.023 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.4316, allocations: 87.95 kB / 1.002 GB, free: 8.938 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.4318, allocations: 133.2 kB / 1.002 GB, free: 8.789 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.4321, allocations: 244.1 kB / 1.002 GB, free: 8.527 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4321, allocations: 0 / 1.002 GB, free: 8.527 MB / 0.6857 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004487/0.4326, allocations: 333.5 kB / 1.002 GB, free: 8.191 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.4326, allocations: 41.78 kB / 1.002 GB, free: 8.145 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4327, allocations: 12.03 kB / 1.002 GB, free: 8.133 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.4327, allocations: 0 / 1.002 GB, free: 8.133 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.4328, allocations: 23.92 kB / 1.002 GB, free: 8.109 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.4328, allocations: 4 kB / 1.002 GB, free: 8.105 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.4329, allocations: 27.83 kB / 1.002 GB, free: 8.078 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.4329, allocations: 4 kB / 1.002 GB, free: 8.074 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.0001504/0.4331, allocations: 197.6 kB / 1.003 GB, free: 7.867 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.4331, allocations: 27.72 kB / 1.003 GB, free: 7.84 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.843e-05/0.4332, allocations: 29.83 kB / 1.003 GB, free: 7.812 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.4332, allocations: 0 / 1.003 GB, free: 7.812 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.4332, allocations: 4 kB / 1.003 GB, free: 7.809 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.4333, allocations: 96.77 kB / 1.003 GB, free: 7.695 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.4333, allocations: 8 kB / 1.003 GB, free: 7.688 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.4334, allocations: 15.92 kB / 1.003 GB, free: 7.672 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.4335, allocations: 27.95 kB / 1.003 GB, free: 7.645 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006975/0.4342, allocations: 485.8 kB / 1.003 GB, free: 7.145 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006735/0.4349, allocations: 0.6075 MB / 1.004 GB, free: 6.516 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001742/0.4351, allocations: 124 kB / 1.004 GB, free: 6.395 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.0001601/0.4352, allocations: 205.9 kB / 1.004 GB, free: 6.191 MB / 0.6857 GB Notification: Performance of Backend: time 3.7e-07/0.4352, allocations: 0 / 1.004 GB, free: 6.191 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.000604/0.4359, allocations: 305.1 kB / 1.005 GB, free: 5.879 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0007988/0.4367, allocations: 0.913 MB / 1.005 GB, free: 4.902 MB / 0.6857 GB Notification: Performance of Templates: time 0.005682/0.4424, allocations: 3.061 MB / 1.008 GB, free: 1.867 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)