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.001531/0.001531, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 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.001958/0.001958, allocations: 216.5 kB / 22.26 MB, free: 5.117 MB / 14.72 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.06513/0.06513, allocations: 12.18 MB / 324.6 MB, free: 7.305 MB / 254.1 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.0008155/0.0008155, allocations: 28.2 kB / 384.1 MB, free: 46.56 MB / 302.1 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 2.475/2.475, allocations: 353.8 MB / 0.7787 GB, free: 1.117 MB / 0.5138 GB " [Timeout remaining time 177] 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.003704/0.003704, allocations: 120.7 kB / 1.061 GB, free: 13.05 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2784, allocations: 134.9 MB / 1.192 GB, free: 6.242 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001867/0.2802, allocations: 0.5927 MB / 1.193 GB, free: 5.652 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.2818, allocations: 1.165 MB / 1.194 GB, free: 4.477 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/0.2819, allocations: 0 / 1.194 GB, free: 4.477 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.865e-05/0.2819, allocations: 3.938 kB / 1.194 GB, free: 4.473 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 6.749e-05/0.282, allocations: 7.938 kB / 1.194 GB, free: 4.465 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.2825, allocations: 130.8 kB / 1.194 GB, free: 4.344 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.2826, allocations: 87.88 kB / 1.194 GB, free: 4.258 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 8.576e-05/0.2827, allocations: 8 kB / 1.194 GB, free: 4.25 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 7.655e-05/0.2828, allocations: 35.91 kB / 1.194 GB, free: 4.215 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.2829, allocations: 43.77 kB / 1.194 GB, free: 4.172 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.2829, allocations: 8 kB / 1.194 GB, free: 4.164 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-05/0.283, allocations: 19.98 kB / 1.194 GB, free: 4.145 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.283, allocations: 4 kB / 1.194 GB, free: 4.141 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 6.56e-05/0.2831, allocations: 35.91 kB / 1.194 GB, free: 4.105 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.2833, allocations: 79.73 kB / 1.194 GB, free: 4.027 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.2833, allocations: 8 kB / 1.194 GB, free: 4.02 MB / 0.8263 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2833, allocations: 0 / 1.194 GB, free: 4.02 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.2833, allocations: 0 / 1.194 GB, free: 4.02 MB / 0.8263 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.0004993/0.2838, allocations: 300 kB / 1.195 GB, free: 3.688 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.2838, allocations: 15.98 kB / 1.195 GB, free: 3.672 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.783e-05/0.2839, allocations: 4.938 kB / 1.195 GB, free: 3.668 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.284, allocations: 122.4 kB / 1.195 GB, free: 3.523 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.284, allocations: 4.375 kB / 1.195 GB, free: 3.52 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.284, allocations: 8.312 kB / 1.195 GB, free: 3.512 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.2841, allocations: 50.19 kB / 1.195 GB, free: 3.457 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.2841, allocations: 192 / 1.195 GB, free: 3.457 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.2842, allocations: 3.938 kB / 1.195 GB, free: 3.453 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2842, allocations: 0 / 1.195 GB, free: 3.453 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.572e-05/0.2842, allocations: 7.984 kB / 1.195 GB, free: 3.445 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.2846, allocations: 260 kB / 1.195 GB, free: 3.148 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 7.035e-05/0.2847, allocations: 30.52 kB / 1.195 GB, free: 3.109 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.2847, allocations: 20.78 kB / 1.195 GB, free: 3.086 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.2847, allocations: 4.062 kB / 1.195 GB, free: 3.082 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.2849, allocations: 55.39 kB / 1.195 GB, free: 3.016 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.2849, allocations: 4 kB / 1.195 GB, free: 3.012 MB / 0.8263 GB Notification: Performance of matching and sorting (n=4): time 0.0002185/0.2851, allocations: 73.62 kB / 1.195 GB, free: 2.934 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.2852, allocations: 51.41 kB / 1.195 GB, free: 2.871 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.693e-05/0.2852, allocations: 109.8 kB / 1.195 GB, free: 2.754 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.2853, allocations: 33.7 kB / 1.196 GB, free: 2.715 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.2853, allocations: 88.14 kB / 1.196 GB, free: 2.625 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.2854, allocations: 7.938 kB / 1.196 GB, free: 2.617 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.2854, allocations: 29.7 kB / 1.196 GB, free: 2.582 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0002184/0.2856, allocations: 318.8 kB / 1.196 GB, free: 2.262 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.804e-05/0.2857, allocations: 27.98 kB / 1.196 GB, free: 2.234 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.961e-05/0.2858, allocations: 50.55 kB / 1.196 GB, free: 2.176 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.2859, allocations: 92.2 kB / 1.196 GB, free: 2.07 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2859, allocations: 3.938 kB / 1.196 GB, free: 2.066 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002725/0.2862, allocations: 151.2 kB / 1.196 GB, free: 1.906 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/0.2862, allocations: 34.8 kB / 1.196 GB, free: 1.867 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2863, allocations: 4 kB / 1.196 GB, free: 1.863 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2863, allocations: 0 / 1.196 GB, free: 1.863 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.977e-05/0.2863, allocations: 3.938 kB / 1.196 GB, free: 1.859 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2863, allocations: 12.05 kB / 1.196 GB, free: 1.848 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.2865, allocations: 23.97 kB / 1.196 GB, free: 1.824 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.2865, allocations: 8 kB / 1.196 GB, free: 1.816 MB / 0.8263 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 0.0001057/0.2866, allocations: 113.8 kB / 1.196 GB, free: 1.695 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.2867, allocations: 7.953 kB / 1.196 GB, free: 1.688 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.2867, allocations: 8 kB / 1.196 GB, free: 1.672 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.2867, allocations: 7.922 kB / 1.196 GB, free: 1.664 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2867, allocations: 4 kB / 1.196 GB, free: 1.66 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2867, allocations: 0 / 1.196 GB, free: 1.66 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.2868, allocations: 136.7 kB / 1.197 GB, free: 1.484 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2868, allocations: 0 / 1.197 GB, free: 1.484 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.2869, allocations: 11.92 kB / 1.197 GB, free: 1.473 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.2869, allocations: 0 / 1.197 GB, free: 1.473 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.2869, allocations: 64 / 1.197 GB, free: 1.473 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.2869, allocations: 4 kB / 1.197 GB, free: 1.469 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2869, allocations: 4 kB / 1.197 GB, free: 1.465 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.287, allocations: 89.06 kB / 1.197 GB, free: 1.359 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.287, allocations: 7.891 kB / 1.197 GB, free: 1.352 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.287, allocations: 3.984 kB / 1.197 GB, free: 1.348 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.693e-05/0.287, allocations: 4 kB / 1.197 GB, free: 1.344 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.2871, allocations: 0 / 1.197 GB, free: 1.344 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.2871, allocations: 0 / 1.197 GB, free: 1.344 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 6.143e-05/0.2871, allocations: 91.27 kB / 1.197 GB, free: 1.254 MB / 0.8263 GB Notification: Performance of sort global known variables: time 8e-08/0.2871, allocations: 0 / 1.197 GB, free: 1.254 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002304/0.2874, allocations: 16 kB / 1.197 GB, free: 1.238 MB / 0.8263 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.000133/0.2875, allocations: 107.2 kB / 1.197 GB, free: 1.125 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.2877, allocations: 107.4 kB / 1.197 GB, free: 1.008 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2877, allocations: 0 / 1.197 GB, free: 1.008 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 3.818e-05/0.2878, allocations: 19.92 kB / 1.197 GB, free: 0.9883 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.288, allocations: 7.938 kB / 1.197 GB, free: 0.9805 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.2883, allocations: 134.3 kB / 1.197 GB, free: 0.8242 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.2886, allocations: 0.6768 MB / 1.198 GB, free: 124 kB / 0.8263 GB Notification: Performance of simCode: alias equations: time 2.016e-05/0.2886, allocations: 4 kB / 1.198 GB, free: 120 kB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.876e-05/0.2887, allocations: 11.38 kB / 1.198 GB, free: 108 kB / 0.8263 GB Notification: Performance of SimCode: time 3.11e-07/0.2887, allocations: 0 / 1.198 GB, free: 108 kB / 0.8263 GB Notification: Performance of Templates: time 0.004147/0.2928, allocations: 1.093 MB / 1.199 GB, free: 15.04 MB / 0.8419 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: 8.092694018036127] Failed to read output from testmodel.py, exit status != 0: 0.3017433136701584 0.316515019 0.030099606 Calling exit ...