Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.000745/0.000745, 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.0007358/0.0007358, allocations: 165.3 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.833/0.833, allocations: 177.1 MB / 203.6 MB, free: 5.723 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.03512/0.03512, allocations: 9.126 MB / 269.2 MB, free: 4.449 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.0003688/0.0003688, allocations: 23.97 kB / 328.7 MB, free: 20.6 MB / 266.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.417/1.417, allocations: 275 MB / 0.6476 GB, free: 2.473 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.IntegerToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.9294 GB, free: 8.141 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551e-05/1.682e-05, allocations: 2.281 kB / 0.9294 GB, free: 8.137 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001081/0.001098, allocations: 0.6455 MB / 0.9301 GB, free: 7.512 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009125/0.00201, allocations: 0.8636 MB / 0.9309 GB, free: 6.637 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.583e-05/0.002046, allocations: 0 / 0.9309 GB, free: 6.637 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.378e-05/0.00207, allocations: 3.938 kB / 0.9309 GB, free: 6.633 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.671e-05/0.002136, allocations: 0.5 kB / 0.9309 GB, free: 6.633 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.002265, allocations: 25.92 kB / 0.9309 GB, free: 6.609 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.611e-05/0.002331, allocations: 51.83 kB / 0.931 GB, free: 6.559 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.333e-05/0.002415, allocations: 11.94 kB / 0.931 GB, free: 6.547 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/0.002481, allocations: 23.97 kB / 0.931 GB, free: 6.523 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.729e-05/0.002529, allocations: 23.91 kB / 0.931 GB, free: 6.5 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.002546, allocations: 5.656 kB / 0.931 GB, free: 6.496 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-06/0.002555, allocations: 4 kB / 0.9311 GB, free: 6.492 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.00257, allocations: 7.984 kB / 0.9311 GB, free: 6.484 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.00259, allocations: 8 kB / 0.9311 GB, free: 6.477 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.773e-05/0.002678, allocations: 51.84 kB / 0.9311 GB, free: 6.426 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.00268, allocations: 0.5 kB / 0.9311 GB, free: 6.426 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.71e-07/0.002681, allocations: 0.6875 kB / 0.9311 GB, free: 6.426 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.002684, allocations: 0 / 0.9311 GB, free: 6.426 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003451/0.003029, allocations: 275.3 kB / 0.9314 GB, free: 6.125 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.003065, allocations: 11.98 kB / 0.9314 GB, free: 6.113 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.506e-05/0.00309, allocations: 13.7 kB / 0.9314 GB, free: 6.102 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.096e-05/0.003171, allocations: 109.7 kB / 0.9315 GB, free: 5.969 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.003185, allocations: 6.641 kB / 0.9315 GB, free: 5.965 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.003198, allocations: 8.375 kB / 0.9315 GB, free: 5.957 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.003323, allocations: 62.22 kB / 0.9316 GB, free: 5.891 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.00333, allocations: 192 / 0.9316 GB, free: 5.891 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.003339, allocations: 4.375 kB / 0.9316 GB, free: 5.887 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.003344, allocations: 5.078 kB / 0.9316 GB, free: 5.883 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.003452, allocations: 52.59 kB / 0.9316 GB, free: 5.832 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.003726, allocations: 230.9 kB / 0.9319 GB, free: 5.578 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.003846, allocations: 62.53 kB / 0.9319 GB, free: 5.508 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.746e-05/0.003904, allocations: 32.86 kB / 0.932 GB, free: 5.473 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.003917, allocations: 0 / 0.932 GB, free: 5.473 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.003937, allocations: 42.48 kB / 0.932 GB, free: 5.422 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.003938, allocations: 0.5312 kB / 0.932 GB, free: 5.422 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002428/0.00418, allocations: 107.1 kB / 0.9321 GB, free: 5.312 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.77e-05/0.004198, allocations: 52.31 kB / 0.9321 GB, free: 5.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.485e-05/0.004253, allocations: 109.8 kB / 0.9322 GB, free: 5.133 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.004264, allocations: 29.7 kB / 0.9323 GB, free: 5.098 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.004297, allocations: 88.75 kB / 0.9324 GB, free: 5.008 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.004313, allocations: 11.89 kB / 0.9324 GB, free: 4.996 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.004339, allocations: 21.11 kB / 0.9324 GB, free: 4.973 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.522e-05/0.004405, allocations: 318.8 kB / 0.9327 GB, free: 4.652 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.286e-05/0.004457, allocations: 23.97 kB / 0.9327 GB, free: 4.629 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.584e-05/0.004503, allocations: 19.98 kB / 0.9327 GB, free: 4.609 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.00461, allocations: 52.75 kB / 0.9328 GB, free: 4.555 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.004612, allocations: 0.9688 kB / 0.9328 GB, free: 4.555 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001288/0.004741, allocations: 91.91 kB / 0.9329 GB, free: 4.461 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.004753, allocations: 11.94 kB / 0.9329 GB, free: 4.449 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.004758, allocations: 4 kB / 0.9329 GB, free: 4.445 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.004768, allocations: 0 / 0.9329 GB, free: 4.445 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.981e-05/0.004838, allocations: 11.98 kB / 0.9329 GB, free: 4.434 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.004845, allocations: 0.5625 kB / 0.9329 GB, free: 4.434 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.046e-05/0.004875, allocations: 8.703 kB / 0.9329 GB, free: 4.426 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.004882, allocations: 4 kB / 0.9329 GB, free: 4.422 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 5.125e-05/0.004933, allocations: 111.2 kB / 0.933 GB, free: 4.305 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.004948, allocations: 7.953 kB / 0.933 GB, free: 4.297 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.759e-05/0.004966, allocations: 15.92 kB / 0.933 GB, free: 4.281 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.004968, allocations: 1.188 kB / 0.933 GB, free: 4.281 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.004969, allocations: 0 / 0.933 GB, free: 4.281 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.004977, allocations: 8 kB / 0.9331 GB, free: 4.273 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-06/0.004986, allocations: 7.375 kB / 0.9331 GB, free: 4.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.568e-05/0.005032, allocations: 7.984 kB / 0.9331 GB, free: 4.262 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.005078, allocations: 11.98 kB / 0.9331 GB, free: 4.25 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001576/0.005236, allocations: 169.2 kB / 0.9332 GB, free: 4.078 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001637/0.005399, allocations: 258.7 kB / 0.9335 GB, free: 3.809 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.188e-05/0.005461, allocations: 28.5 kB / 0.9335 GB, free: 3.781 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.582e-05/0.005487, allocations: 95.27 kB / 0.9336 GB, free: 3.688 MB / 0.698 GB Notification: Performance of Backend: time 1.6e-07/0.005487, allocations: 0 / 0.9336 GB, free: 3.688 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002629/0.00575, allocations: 98.38 kB / 0.9337 GB, free: 3.582 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003322/0.006082, allocations: 0.5752 MB / 0.9343 GB, free: 2.961 MB / 0.698 GB Notification: Performance of Templates: time 0.002103/0.008186, allocations: 1.072 MB / 0.9353 GB, free: 1.914 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.384601588360965] Failed to read output from testmodel.py, exit status != 0: 0.012230255641043186 0.020583196 0.016321634 Calling exit ...