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.00077/0.00077, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008324/0.0008324, allocations: 219 kB / 22.25 MB, free: 3.594 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.9196/0.9196, allocations: 230.6 MB / 256 MB, free: 9.594 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.03569/0.03569, allocations: 12.2 MB / 324.6 MB, free: 6.078 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.0004333/0.0004333, allocations: 35.94 kB / 384.1 MB, free: 10.5 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.681/1.681, allocations: 353.8 MB / 0.7787 GB, free: 4.543 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: "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) [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.001488/0.001488, allocations: 121.4 kB / 1.06 GB, free: 24.82 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2343, allocations: 134.9 MB / 1.192 GB, free: 7.5 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001401/0.2357, allocations: 0.5827 MB / 1.192 GB, free: 6.918 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.237, allocations: 1.153 MB / 1.193 GB, free: 5.754 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.237, allocations: 0 / 1.193 GB, free: 5.754 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.237, allocations: 3.938 kB / 1.193 GB, free: 5.75 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.239e-05/0.2371, allocations: 11.92 kB / 1.193 GB, free: 5.738 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.2375, allocations: 117.7 kB / 1.193 GB, free: 5.625 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.2376, allocations: 91.81 kB / 1.194 GB, free: 5.535 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.055e-05/0.2377, allocations: 7.984 kB / 1.194 GB, free: 5.527 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.315e-05/0.2378, allocations: 35.92 kB / 1.194 GB, free: 5.492 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.306e-05/0.2379, allocations: 31.89 kB / 1.194 GB, free: 5.461 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.2379, allocations: 8 kB / 1.194 GB, free: 5.453 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.434e-05/0.2379, allocations: 20 kB / 1.194 GB, free: 5.434 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.238, allocations: 11.91 kB / 1.194 GB, free: 5.422 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.238, allocations: 31.92 kB / 1.194 GB, free: 5.391 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.2381, allocations: 88 kB / 1.194 GB, free: 5.305 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2381, allocations: 0 / 1.194 GB, free: 5.305 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2382, allocations: 0 / 1.194 GB, free: 5.305 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2382, allocations: 3.938 kB / 1.194 GB, free: 5.301 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.0003902/0.2385, allocations: 300 kB / 1.194 GB, free: 4.969 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.2386, allocations: 12.03 kB / 1.194 GB, free: 4.957 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.558e-05/0.2386, allocations: 34.75 kB / 1.194 GB, free: 4.914 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.2387, allocations: 4.938 kB / 1.194 GB, free: 4.91 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.255e-05/0.2387, allocations: 114.4 kB / 1.194 GB, free: 4.773 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.2388, allocations: 4.359 kB / 1.194 GB, free: 4.77 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.2388, allocations: 4.375 kB / 1.194 GB, free: 4.766 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.485e-05/0.2388, allocations: 42.25 kB / 1.194 GB, free: 4.719 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2389, allocations: 3.938 kB / 1.194 GB, free: 4.715 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.2389, allocations: 0 / 1.194 GB, free: 4.715 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.279e-06/0.2389, allocations: 0 / 1.194 GB, free: 4.715 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.883e-05/0.2389, allocations: 15.94 kB / 1.194 GB, free: 4.699 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.2392, allocations: 244 kB / 1.195 GB, free: 4.418 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.563e-05/0.2393, allocations: 30.52 kB / 1.195 GB, free: 4.379 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.832e-05/0.2393, allocations: 12.92 kB / 1.195 GB, free: 4.363 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.617e-06/0.2393, allocations: 0 / 1.195 GB, free: 4.363 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.2394, allocations: 63.33 kB / 1.195 GB, free: 4.289 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 7.02e-07/0.2394, allocations: 0 / 1.195 GB, free: 4.289 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001618/0.2396, allocations: 73.62 kB / 1.195 GB, free: 4.211 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.2396, allocations: 51.41 kB / 1.195 GB, free: 4.148 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.902e-05/0.2397, allocations: 109.8 kB / 1.195 GB, free: 4.031 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.2397, allocations: 29.7 kB / 1.195 GB, free: 3.996 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.2397, allocations: 92.12 kB / 1.195 GB, free: 3.902 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.127e-06/0.2397, allocations: 7.953 kB / 1.195 GB, free: 3.895 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.2398, allocations: 29.7 kB / 1.195 GB, free: 3.859 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.832e-05/0.2398, allocations: 322.8 kB / 1.195 GB, free: 3.535 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/0.2399, allocations: 57.69 kB / 1.195 GB, free: 3.473 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.229e-05/0.24, allocations: 88.12 kB / 1.195 GB, free: 3.371 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.975e-05/0.2401, allocations: 92.27 kB / 1.196 GB, free: 3.266 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2401, allocations: 3.938 kB / 1.196 GB, free: 3.262 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001771/0.2402, allocations: 185 kB / 1.196 GB, free: 3.062 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.2403, allocations: 37.69 kB / 1.196 GB, free: 3.02 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2403, allocations: 0 / 1.196 GB, free: 3.02 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2403, allocations: 0 / 1.196 GB, free: 3.02 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.361e-05/0.2403, allocations: 7.938 kB / 1.196 GB, free: 3.012 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.2403, allocations: 0 / 1.196 GB, free: 3.012 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.2405, allocations: 27.97 kB / 1.196 GB, free: 2.984 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.2405, allocations: 4 kB / 1.196 GB, free: 2.98 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.404e-05/0.2406, allocations: 128 kB / 1.196 GB, free: 2.848 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-06/0.2406, allocations: 7.953 kB / 1.196 GB, free: 2.84 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.2406, allocations: 8.234 kB / 1.196 GB, free: 2.824 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2406, allocations: 3.984 kB / 1.196 GB, free: 2.82 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2406, allocations: 0 / 1.196 GB, free: 2.82 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2406, allocations: 0 / 1.196 GB, free: 2.82 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.676e-05/0.2407, allocations: 132.7 kB / 1.196 GB, free: 2.648 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.2407, allocations: 0 / 1.196 GB, free: 2.648 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.824e-06/0.2407, allocations: 0 / 1.196 GB, free: 2.648 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2407, allocations: 4 kB / 1.196 GB, free: 2.645 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.2407, allocations: 4 kB / 1.196 GB, free: 2.641 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.2407, allocations: 7.984 kB / 1.196 GB, free: 2.633 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2407, allocations: 0 / 1.196 GB, free: 2.633 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.332e-05/0.2408, allocations: 89 kB / 1.196 GB, free: 2.527 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-06/0.2408, allocations: 3.953 kB / 1.196 GB, free: 2.523 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.2408, allocations: 0 / 1.196 GB, free: 2.523 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.505e-06/0.2408, allocations: 0 / 1.196 GB, free: 2.523 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.2408, allocations: 7.984 kB / 1.196 GB, free: 2.516 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.2408, allocations: 4 kB / 1.196 GB, free: 2.512 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.969e-05/0.2409, allocations: 83.28 kB / 1.196 GB, free: 2.43 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.2409, allocations: 0 / 1.196 GB, free: 2.43 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001459/0.241, allocations: 23.92 kB / 1.196 GB, free: 2.406 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.0002578/0.2413, allocations: 0.6241 MB / 1.197 GB, free: 1.754 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001658/0.2414, allocations: 141.1 kB / 1.197 GB, free: 1.598 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2414, allocations: 3.938 kB / 1.197 GB, free: 1.594 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.358e-05/0.2415, allocations: 19.92 kB / 1.197 GB, free: 1.574 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.2416, allocations: 8.562 kB / 1.197 GB, free: 1.566 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.2426, allocations: 1.524 MB / 1.199 GB, free: 15.92 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.228e-05/0.2427, allocations: 67.47 kB / 1.199 GB, free: 15.83 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.018e-05/0.2427, allocations: 4.25 kB / 1.199 GB, free: 15.83 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.2427, allocations: 7.438 kB / 1.199 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of SimCode: time 6.81e-07/0.2427, allocations: 0 / 1.199 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.2573, allocations: 2.641 MB / 1.201 GB, free: 13.34 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.671/6.928, allocations: 17.77 kB / 1.201 GB, free: 13.32 MB / 0.8387 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.276204882189631] Failed to read output from testmodel.py, exit status != 0: 7.003786323592067 7.015679049 6.77571829 Calling exit ...