Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.001118/0.001118, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.001061/0.001061, allocations: 216.2 kB / 23 MB, free: 2.98 MB / 13.93 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 1.01/1.01, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.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.03967/0.03967, allocations: 12.19 MB / 325.4 MB, free: 6.102 MB / 250.7 MB " [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.0005919/0.0005919, allocations: 19.97 kB / 384.8 MB, free: 10.53 MB / 314.7 MB " [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.822/1.822, allocations: 353.8 MB / 0.7794 GB, free: 4.605 MB / 0.5105 GB " [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.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 122.6 kB / 1.061 GB, free: 24.54 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.254, allocations: 134.9 MB / 1.193 GB, free: 7.051 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001588/0.2555, allocations: 0.5789 MB / 1.193 GB, free: 6.473 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.2568, allocations: 1.149 MB / 1.195 GB, free: 5.312 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/0.2569, allocations: 0 / 1.195 GB, free: 5.312 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.33e-05/0.2569, allocations: 0 / 1.195 GB, free: 5.312 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.905e-05/0.257, allocations: 7.938 kB / 1.195 GB, free: 5.305 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.2575, allocations: 128.2 kB / 1.195 GB, free: 5.184 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.2577, allocations: 91.81 kB / 1.195 GB, free: 5.094 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.2578, allocations: 4 kB / 1.195 GB, free: 5.09 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.901e-05/0.2579, allocations: 39.91 kB / 1.195 GB, free: 5.051 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.258, allocations: 23.95 kB / 1.195 GB, free: 5.027 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.2581, allocations: 8 kB / 1.195 GB, free: 5.02 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.118e-05/0.2581, allocations: 27.92 kB / 1.195 GB, free: 4.992 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.2582, allocations: 0 / 1.195 GB, free: 4.992 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.822e-05/0.2582, allocations: 27.92 kB / 1.195 GB, free: 4.965 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.2584, allocations: 91.72 kB / 1.195 GB, free: 4.875 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2584, allocations: 0 / 1.195 GB, free: 4.875 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.986e-06/0.2584, allocations: 0 / 1.195 GB, free: 4.875 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.2584, allocations: 0 / 1.195 GB, free: 4.875 MB / 0.823 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.0004999/0.2589, allocations: 303.9 kB / 1.195 GB, free: 4.539 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.259, allocations: 8.031 kB / 1.195 GB, free: 4.531 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/0.259, allocations: 4.938 kB / 1.195 GB, free: 4.527 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.2591, allocations: 122.4 kB / 1.195 GB, free: 4.383 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.2591, allocations: 4.375 kB / 1.195 GB, free: 4.379 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.2592, allocations: 8.375 kB / 1.195 GB, free: 4.371 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.2593, allocations: 38.25 kB / 1.195 GB, free: 4.328 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2593, allocations: 4.188 kB / 1.195 GB, free: 4.324 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.2593, allocations: 3.938 kB / 1.195 GB, free: 4.32 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2593, allocations: 0 / 1.195 GB, free: 4.32 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.663e-05/0.2593, allocations: 11.98 kB / 1.195 GB, free: 4.309 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.2597, allocations: 232.6 kB / 1.196 GB, free: 4.051 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.948e-05/0.2598, allocations: 26.52 kB / 1.196 GB, free: 4.016 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.2598, allocations: 8.859 kB / 1.196 GB, free: 4.004 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.2598, allocations: 8 kB / 1.196 GB, free: 3.996 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.26, allocations: 59.39 kB / 1.196 GB, free: 3.926 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.26, allocations: 4 kB / 1.196 GB, free: 3.922 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002191/0.2602, allocations: 73.56 kB / 1.196 GB, free: 3.844 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.2603, allocations: 59.41 kB / 1.196 GB, free: 3.773 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.493e-05/0.2604, allocations: 105.8 kB / 1.196 GB, free: 3.66 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.2604, allocations: 29.7 kB / 1.196 GB, free: 3.625 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.2605, allocations: 84.14 kB / 1.196 GB, free: 3.539 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.063e-05/0.2605, allocations: 7.953 kB / 1.196 GB, free: 3.531 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.2605, allocations: 29.7 kB / 1.196 GB, free: 3.496 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.745e-05/0.2606, allocations: 318.8 kB / 1.196 GB, free: 3.176 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.957e-05/0.2607, allocations: 65.62 kB / 1.197 GB, free: 3.105 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.271e-05/0.2608, allocations: 88.62 kB / 1.197 GB, free: 3.004 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.446e-05/0.2609, allocations: 84.2 kB / 1.197 GB, free: 2.906 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2609, allocations: 0 / 1.197 GB, free: 2.906 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001887/0.261, allocations: 188.9 kB / 1.197 GB, free: 2.703 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.2611, allocations: 38.94 kB / 1.197 GB, free: 2.66 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.2611, allocations: 0 / 1.197 GB, free: 2.66 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2611, allocations: 4 kB / 1.197 GB, free: 2.656 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.384e-05/0.2612, allocations: 0 / 1.197 GB, free: 2.656 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.2612, allocations: 8.062 kB / 1.197 GB, free: 2.648 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.2613, allocations: 28.03 kB / 1.197 GB, free: 2.621 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.2613, allocations: 4 kB / 1.197 GB, free: 2.617 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.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 7.823e-05/0.2614, allocations: 121.8 kB / 1.197 GB, free: 2.488 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-06/0.2614, allocations: 15.83 kB / 1.197 GB, free: 2.473 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.954e-05/0.2615, allocations: 4 kB / 1.197 GB, free: 2.461 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2615, allocations: 0 / 1.197 GB, free: 2.461 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2615, allocations: 0 / 1.197 GB, free: 2.461 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.2615, allocations: 0 / 1.197 GB, free: 2.461 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.366e-05/0.2615, allocations: 117.3 kB / 1.197 GB, free: 2.316 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2615, allocations: 0 / 1.197 GB, free: 2.316 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.177e-05/0.2616, allocations: 7.938 kB / 1.197 GB, free: 2.309 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2616, allocations: 0 / 1.197 GB, free: 2.309 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.2616, allocations: 4 kB / 1.197 GB, free: 2.305 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.2616, allocations: 0 / 1.197 GB, free: 2.305 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2616, allocations: 0 / 1.197 GB, free: 2.305 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.129e-05/0.2617, allocations: 85.11 kB / 1.197 GB, free: 2.203 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.2617, allocations: 7.891 kB / 1.197 GB, free: 2.195 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.2617, allocations: 4 kB / 1.197 GB, free: 2.191 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.04e-05/0.2617, allocations: 7.938 kB / 1.197 GB, free: 2.184 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.2617, allocations: 7.984 kB / 1.197 GB, free: 2.176 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.2617, allocations: 8 kB / 1.197 GB, free: 2.168 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.338e-05/0.2618, allocations: 79.28 kB / 1.197 GB, free: 2.09 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2618, allocations: 0 / 1.197 GB, free: 2.09 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001499/0.2619, allocations: 23.94 kB / 1.197 GB, free: 2.066 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001337/0.262, allocations: 99.23 kB / 1.198 GB, free: 1.961 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001921/0.2622, allocations: 141.3 kB / 1.198 GB, free: 1.805 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2622, allocations: 3.938 kB / 1.198 GB, free: 1.801 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.708e-05/0.2623, allocations: 16.2 kB / 1.198 GB, free: 1.785 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.2624, allocations: 12 kB / 1.198 GB, free: 1.773 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.2628, allocations: 163.9 kB / 1.198 GB, free: 1.582 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.854e-05/0.2628, allocations: 63.34 kB / 1.198 GB, free: 1.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.2628, allocations: 7.438 kB / 1.198 GB, free: 1.492 MB / 0.823 GB Notification: Performance of SimCode: time 5.41e-07/0.2628, allocations: 0 / 1.198 GB, free: 1.492 MB / 0.823 GB Notification: Performance of Templates: time 0.002243/0.2651, allocations: 0.9435 MB / 1.199 GB, free: 0.5547 MB / 0.823 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.794765308499336] Failed to read output from testmodel.py, exit status != 0: 0.27145399805158377 0.282767415 0.022088206000000003 Calling exit ...