Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007051/0.0007051, allocations: 79.69 kB / 20.03 MB, free: 4.492 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007351/0.0007351, allocations: 165.7 kB / 23.33 MB, free: 1.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8324/0.8324, allocations: 177.1 MB / 203.6 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03413/0.03413, allocations: 9.123 MB / 269.2 MB, free: 4.438 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0003658/0.0003658, allocations: 23.95 kB / 328.7 MB, free: 5.797 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.453/1.453, allocations: 275 MB / 0.6476 GB, free: 2.891 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/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.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.9294 GB, free: 20.98 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.326e-05, allocations: 3.469 kB / 0.9294 GB, free: 20.98 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0009559/0.0009692, allocations: 0.5867 MB / 0.93 GB, free: 20.63 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0008345/0.001804, allocations: 1.155 MB / 0.9311 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.001841, allocations: 0 / 0.9311 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.071e-05/0.001862, allocations: 1.625 kB / 0.9311 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 6.172e-05/0.001924, allocations: 9.25 kB / 0.9312 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.002285, allocations: 127.1 kB / 0.9313 GB, free: 19.72 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.002404, allocations: 87.34 kB / 0.9314 GB, free: 19.68 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 7.515e-05/0.002479, allocations: 8.016 kB / 0.9314 GB, free: 19.68 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 7.806e-05/0.002557, allocations: 47.14 kB / 0.9314 GB, free: 19.66 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 8.461e-05/0.002642, allocations: 27.59 kB / 0.9314 GB, free: 19.65 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.002663, allocations: 8.031 kB / 0.9314 GB, free: 19.65 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 5.509e-05/0.002718, allocations: 24.14 kB / 0.9315 GB, free: 19.64 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.002734, allocations: 6.188 kB / 0.9315 GB, free: 19.64 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 4.295e-05/0.002777, allocations: 31.27 kB / 0.9315 GB, free: 19.62 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.002925, allocations: 99.41 kB / 0.9316 GB, free: 19.59 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.083e-06/0.002927, allocations: 0.75 kB / 0.9316 GB, free: 19.59 MB / 0.7293 GB Notification: Performance of FrontEnd: time 9.22e-07/0.002928, allocations: 0 / 0.9316 GB, free: 19.59 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.002931, allocations: 0 / 0.9316 GB, free: 19.59 MB / 0.7293 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003016/0.003232, allocations: 304.2 kB / 0.9319 GB, free: 19.28 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.003266, allocations: 13.36 kB / 0.9319 GB, free: 19.28 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.003302, allocations: 13.75 kB / 0.9319 GB, free: 19.27 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.016e-05/0.003352, allocations: 108.6 kB / 0.932 GB, free: 19.14 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.003366, allocations: 8.062 kB / 0.932 GB, free: 19.14 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.003382, allocations: 4.969 kB / 0.932 GB, free: 19.14 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.762e-05/0.00345, allocations: 44.25 kB / 0.9321 GB, free: 19.1 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.003457, allocations: 1.266 kB / 0.9321 GB, free: 19.1 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.852e-06/0.003464, allocations: 384 / 0.9321 GB, free: 19.1 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.003468, allocations: 1.719 kB / 0.9321 GB, free: 19.1 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.849e-05/0.003496, allocations: 14.97 kB / 0.9321 GB, free: 19.09 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.003724, allocations: 220.8 kB / 0.9323 GB, free: 18.88 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 3.923e-05/0.003763, allocations: 30.67 kB / 0.9323 GB, free: 18.85 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/0.00378, allocations: 12.22 kB / 0.9323 GB, free: 18.84 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-06/0.003789, allocations: 5.078 kB / 0.9323 GB, free: 18.83 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.715e-05/0.003866, allocations: 66.56 kB / 0.9324 GB, free: 18.77 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.003867, allocations: 1.406 kB / 0.9324 GB, free: 18.77 MB / 0.7293 GB Notification: Performance of matching and sorting (n=4): time 0.0001426/0.00401, allocations: 76.78 kB / 0.9325 GB, free: 18.72 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.381e-05/0.004023, allocations: 53.56 kB / 0.9325 GB, free: 18.66 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.228e-05/0.004066, allocations: 111.8 kB / 0.9326 GB, free: 18.55 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.004076, allocations: 30.86 kB / 0.9327 GB, free: 18.52 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 2.368e-05/0.004099, allocations: 88.64 kB / 0.9328 GB, free: 18.43 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.116e-05/0.00411, allocations: 13.86 kB / 0.9328 GB, free: 18.42 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.00415, allocations: 30.84 kB / 0.9328 GB, free: 18.4 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.05e-05/0.00417, allocations: 313.3 kB / 0.9331 GB, free: 18.09 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.84e-05/0.004228, allocations: 61.28 kB / 0.9332 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.695e-05/0.004285, allocations: 82.8 kB / 0.9332 GB, free: 17.98 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.267e-05/0.004348, allocations: 90.8 kB / 0.9333 GB, free: 17.9 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.00435, allocations: 0 / 0.9333 GB, free: 17.9 MB / 0.7293 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001592/0.004509, allocations: 179.4 kB / 0.9335 GB, free: 17.77 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.004531, allocations: 35.38 kB / 0.9335 GB, free: 17.74 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.004536, allocations: 3.938 kB / 0.9335 GB, free: 17.74 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.004547, allocations: 1.062 kB / 0.9335 GB, free: 17.74 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.919e-05/0.004586, allocations: 3.438 kB / 0.9335 GB, free: 17.74 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.004593, allocations: 5.406 kB / 0.9335 GB, free: 17.73 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.004714, allocations: 32.8 kB / 0.9336 GB, free: 17.73 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.004726, allocations: 6.297 kB / 0.9336 GB, free: 17.73 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 3.757e-05/0.004764, allocations: 119.1 kB / 0.9337 GB, free: 17.61 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-06/0.00477, allocations: 3.188 kB / 0.9337 GB, free: 17.61 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.73e-05/0.004788, allocations: 13.67 kB / 0.9337 GB, free: 17.59 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.00479, allocations: 5.031 kB / 0.9337 GB, free: 17.59 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.004791, allocations: 0.7031 kB / 0.9337 GB, free: 17.59 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-06/0.004798, allocations: 14.48 kB / 0.9337 GB, free: 17.58 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.004808, allocations: 0.75 kB / 0.9337 GB, free: 17.58 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-06/0.004816, allocations: 1.812 kB / 0.9337 GB, free: 17.58 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.004841, allocations: 6.438 kB / 0.9337 GB, free: 17.57 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.967e-05/0.0049, allocations: 132.4 kB / 0.9339 GB, free: 17.46 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 6.196e-05/0.004962, allocations: 234 kB / 0.9341 GB, free: 17.24 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.154e-05/0.004984, allocations: 12.31 kB / 0.9341 GB, free: 17.24 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 1.655e-05/0.005, allocations: 85.94 kB / 0.9342 GB, free: 17.16 MB / 0.7293 GB Notification: Performance of Backend: time 2.21e-07/0.005001, allocations: 0 / 0.9342 GB, free: 17.16 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0003071/0.005308, allocations: 211 kB / 0.9344 GB, free: 16.98 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0002605/0.005568, allocations: 0.5753 MB / 0.9349 GB, free: 16.38 MB / 0.7293 GB Notification: Performance of Templates: time 0.002501/0.008069, allocations: 1.229 MB / 0.9361 GB, free: 16.24 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.439063268713653] Failed to read output from testmodel.py, exit status != 0: 0.011941662058234215 0.019342944 0.014848615 Calling exit ...