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.001192/0.001192, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0009402/0.0009402, allocations: 199.9 kB / 23 MB, free: 3.113 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 0.8909/0.8909, allocations: 230.6 MB / 256.8 MB, free: 3.469 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.03824/0.03824, allocations: 12.19 MB / 325.4 MB, free: 3.43 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.0005508/0.0005508, allocations: 27.64 kB / 384.9 MB, free: 45.74 MB / 298.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.642/1.642, allocations: 353.8 MB / 0.7794 GB, free: 13.04 MB / 0.5262 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.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: 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.001492/0.001492, allocations: 118.4 kB / 1.061 GB, free: 9.465 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.224, allocations: 134.9 MB / 1.193 GB, free: 2.648 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001434/0.2254, allocations: 0.5905 MB / 1.194 GB, free: 2.059 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.2265, allocations: 1.173 MB / 1.195 GB, free: 0.875 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.649e-05/0.2265, allocations: 7.938 kB / 1.195 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.2266, allocations: 0 / 1.195 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.406e-05/0.2266, allocations: 3.938 kB / 1.195 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.227, allocations: 129 kB / 1.195 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000143/0.2272, allocations: 87.88 kB / 1.195 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.94e-05/0.2273, allocations: 4 kB / 1.195 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.506e-05/0.2273, allocations: 43.84 kB / 1.195 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.215e-05/0.2274, allocations: 39.89 kB / 1.195 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.2274, allocations: 8 kB / 1.195 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.948e-05/0.2275, allocations: 19.98 kB / 1.195 GB, free: 0.543 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.2275, allocations: 4 kB / 1.195 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.66e-05/0.2276, allocations: 27.92 kB / 1.195 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.2277, allocations: 87.72 kB / 1.195 GB, free: 436 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2278, allocations: 0 / 1.195 GB, free: 436 kB / 0.823 GB Notification: Performance of FrontEnd: time 2.926e-06/0.2278, allocations: 0 / 1.195 GB, free: 436 kB / 0.823 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.2278, allocations: 0 / 1.195 GB, free: 436 kB / 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.0004658/0.2282, allocations: 300 kB / 1.195 GB, free: 96 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.2283, allocations: 23.92 kB / 1.195 GB, free: 72 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.583e-05/0.2283, allocations: 12.86 kB / 1.195 GB, free: 60 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.2284, allocations: 118.4 kB / 1.196 GB, free: 15.92 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.2285, allocations: 384 / 1.196 GB, free: 15.92 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.2285, allocations: 4.375 kB / 1.196 GB, free: 15.91 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.2286, allocations: 46.19 kB / 1.196 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2286, allocations: 192 / 1.196 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.2286, allocations: 3.938 kB / 1.196 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2286, allocations: 0 / 1.196 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.031e-05/0.2287, allocations: 12 kB / 1.196 GB, free: 15.85 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.2291, allocations: 260 kB / 1.196 GB, free: 15.55 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 6.824e-05/0.2291, allocations: 38.44 kB / 1.196 GB, free: 15.5 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/0.2292, allocations: 8.922 kB / 1.196 GB, free: 15.49 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.2292, allocations: 3.984 kB / 1.196 GB, free: 15.49 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.2293, allocations: 59.41 kB / 1.196 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.2293, allocations: 0 / 1.196 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of matching and sorting (n=4): time 0.000193/0.2295, allocations: 73.62 kB / 1.196 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.2295, allocations: 59.34 kB / 1.196 GB, free: 15.27 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.2296, allocations: 105.8 kB / 1.196 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.2296, allocations: 29.7 kB / 1.196 GB, free: 15.12 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.2297, allocations: 84.14 kB / 1.196 GB, free: 15.04 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.2297, allocations: 3.953 kB / 1.196 GB, free: 15.03 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.2297, allocations: 41.69 kB / 1.196 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.681e-05/0.2298, allocations: 314.8 kB / 1.197 GB, free: 14.67 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.956e-05/0.2299, allocations: 31.98 kB / 1.197 GB, free: 14.64 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.209e-05/0.2299, allocations: 42.56 kB / 1.197 GB, free: 14.59 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.974e-05/0.23, allocations: 88.2 kB / 1.197 GB, free: 14.48 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.23, allocations: 3.938 kB / 1.197 GB, free: 14.48 MB / 0.8387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001689/0.2302, allocations: 159.2 kB / 1.197 GB, free: 14.31 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.2302, allocations: 37.69 kB / 1.197 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2302, allocations: 0 / 1.197 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.2303, allocations: 0 / 1.197 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.24e-05/0.2303, allocations: 8.062 kB / 1.197 GB, free: 14.26 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.2303, allocations: 0 / 1.197 GB, free: 14.26 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.2304, allocations: 23.97 kB / 1.197 GB, free: 14.24 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.2305, allocations: 11.98 kB / 1.197 GB, free: 14.23 MB / 0.8387 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 6.777e-05/0.2305, allocations: 126.7 kB / 1.197 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.2305, allocations: 3.953 kB / 1.197 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.229e-05/0.2306, allocations: 8 kB / 1.197 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2306, allocations: 4 kB / 1.197 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2306, allocations: 0 / 1.197 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.2306, allocations: 0 / 1.197 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.328e-05/0.2306, allocations: 144.6 kB / 1.197 GB, free: 13.89 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.2306, allocations: 3.938 kB / 1.197 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-06/0.2307, allocations: 0 / 1.197 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.2307, allocations: 4 kB / 1.197 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.2307, allocations: 8 kB / 1.197 GB, free: 13.87 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2307, allocations: 3.984 kB / 1.197 GB, free: 13.87 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2307, allocations: 0 / 1.197 GB, free: 13.87 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.9e-05/0.2307, allocations: 81.06 kB / 1.197 GB, free: 13.77 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-06/0.2308, allocations: 7.891 kB / 1.197 GB, free: 13.76 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.2308, allocations: 4 kB / 1.197 GB, free: 13.76 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.087e-06/0.2308, allocations: 0 / 1.197 GB, free: 13.76 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.2308, allocations: 7.984 kB / 1.197 GB, free: 13.75 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.2308, allocations: 4 kB / 1.197 GB, free: 13.75 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 2.867e-05/0.2308, allocations: 83.28 kB / 1.198 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6e-08/0.2308, allocations: 0 / 1.198 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001435/0.231, allocations: 19.98 kB / 1.198 GB, free: 13.64 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,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.0001044/0.2311, allocations: 103.2 kB / 1.198 GB, free: 13.54 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.2312, allocations: 107.4 kB / 1.198 GB, free: 13.42 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2312, allocations: 4.125 kB / 1.198 GB, free: 13.41 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 2.821e-05/0.2313, allocations: 20.3 kB / 1.198 GB, free: 13.39 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.2314, allocations: 7.938 kB / 1.198 GB, free: 13.39 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/0.2317, allocations: 155.9 kB / 1.198 GB, free: 13.2 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.2319, allocations: 0.6832 MB / 1.199 GB, free: 12.5 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.711e-05/0.2319, allocations: 7.531 kB / 1.199 GB, free: 12.49 MB / 0.8387 GB Notification: Performance of SimCode: time 7.12e-07/0.2319, allocations: 0 / 1.199 GB, free: 12.49 MB / 0.8387 GB Notification: Performance of Templates: time 0.001913/0.2338, allocations: 0.9406 MB / 1.2 GB, free: 11.57 MB / 0.8387 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: 6.7994883665815] Failed to read output from testmodel.py, exit status != 0: 0.23908748384565115 0.24728719299999996 0.017817987 Calling exit ...