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.00076/0.00076, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008197/0.0008197, allocations: 213.8 kB / 22.26 MB, free: 3.707 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.9221/0.9221, allocations: 230.6 MB / 256 MB, free: 9.82 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.04137/0.04137, allocations: 12.18 MB / 324.6 MB, free: 6.285 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.0004728/0.0004728, allocations: 23.72 kB / 384.1 MB, free: 10.7 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.826/1.826, allocations: 353.8 MB / 0.7787 GB, free: 3.156 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.001514/0.001514, allocations: 118 kB / 1.06 GB, free: 25.12 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2294, allocations: 134.9 MB / 1.192 GB, free: 7.941 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001463/0.2309, allocations: 0.5882 MB / 1.192 GB, free: 7.355 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.2322, allocations: 1.176 MB / 1.193 GB, free: 6.168 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.2323, allocations: 0 / 1.193 GB, free: 6.168 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.268e-05/0.2323, allocations: 3.938 kB / 1.193 GB, free: 6.164 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.481e-05/0.2323, allocations: 3.938 kB / 1.193 GB, free: 6.16 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.2327, allocations: 127.2 kB / 1.194 GB, free: 6.039 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.2328, allocations: 87.89 kB / 1.194 GB, free: 5.953 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.2329, allocations: 8 kB / 1.194 GB, free: 5.945 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.367e-05/0.233, allocations: 35.91 kB / 1.194 GB, free: 5.91 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.582e-05/0.2331, allocations: 35.89 kB / 1.194 GB, free: 5.875 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.2331, allocations: 8 kB / 1.194 GB, free: 5.867 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.776e-05/0.2331, allocations: 27.92 kB / 1.194 GB, free: 5.84 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.2331, allocations: 3.984 kB / 1.194 GB, free: 5.836 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.2332, allocations: 27.92 kB / 1.194 GB, free: 5.809 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.2333, allocations: 92 kB / 1.194 GB, free: 5.719 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2333, allocations: 0 / 1.194 GB, free: 5.719 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.684e-06/0.2333, allocations: 4 kB / 1.194 GB, free: 5.715 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2333, allocations: 0 / 1.194 GB, free: 5.715 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.0003759/0.2337, allocations: 300 kB / 1.194 GB, free: 5.383 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.2337, allocations: 8.031 kB / 1.194 GB, free: 5.375 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.188e-05/0.2337, allocations: 34.73 kB / 1.194 GB, free: 5.332 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.2338, allocations: 8.875 kB / 1.194 GB, free: 5.324 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.972e-05/0.2338, allocations: 118.4 kB / 1.194 GB, free: 5.184 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.2339, allocations: 4.375 kB / 1.194 GB, free: 5.18 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.2339, allocations: 4.375 kB / 1.194 GB, free: 5.176 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.546e-05/0.2339, allocations: 42.25 kB / 1.194 GB, free: 5.129 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2339, allocations: 7.875 kB / 1.194 GB, free: 5.121 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-06/0.2339, allocations: 4 kB / 1.194 GB, free: 5.117 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.234, allocations: 0 / 1.194 GB, free: 5.117 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.93e-05/0.234, allocations: 11.98 kB / 1.194 GB, free: 5.105 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.2343, allocations: 256 kB / 1.195 GB, free: 4.812 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.956e-05/0.2343, allocations: 26.52 kB / 1.195 GB, free: 4.777 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.2343, allocations: 20.91 kB / 1.195 GB, free: 4.754 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.2343, allocations: 0 / 1.195 GB, free: 4.754 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.789e-05/0.2344, allocations: 63.33 kB / 1.195 GB, free: 4.68 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.2344, allocations: 0 / 1.195 GB, free: 4.68 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002134/0.2346, allocations: 73.62 kB / 1.195 GB, free: 4.602 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.2347, allocations: 51.41 kB / 1.195 GB, free: 4.539 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.359e-05/0.2347, allocations: 109.8 kB / 1.195 GB, free: 4.422 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.2348, allocations: 37.64 kB / 1.195 GB, free: 4.379 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.2348, allocations: 88.12 kB / 1.195 GB, free: 4.289 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.141e-05/0.2348, allocations: 11.94 kB / 1.195 GB, free: 4.277 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.2349, allocations: 29.7 kB / 1.195 GB, free: 4.242 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.235, allocations: 310.8 kB / 1.195 GB, free: 3.93 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.357e-05/0.235, allocations: 31.98 kB / 1.195 GB, free: 3.898 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.475e-05/0.2351, allocations: 54.55 kB / 1.196 GB, free: 3.836 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.505e-05/0.2352, allocations: 88.16 kB / 1.196 GB, free: 3.734 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2352, allocations: 4 kB / 1.196 GB, free: 3.73 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002168/0.2354, allocations: 155.3 kB / 1.196 GB, free: 3.566 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.2354, allocations: 35.58 kB / 1.196 GB, free: 3.527 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2354, allocations: 0 / 1.196 GB, free: 3.527 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2354, allocations: 4 kB / 1.196 GB, free: 3.523 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.134e-05/0.2355, allocations: 4 kB / 1.196 GB, free: 3.52 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2355, allocations: 8.062 kB / 1.196 GB, free: 3.512 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.2356, allocations: 27.95 kB / 1.196 GB, free: 3.484 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.2356, allocations: 4 kB / 1.196 GB, free: 3.48 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.674e-05/0.2357, allocations: 121.7 kB / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.2357, allocations: 7.953 kB / 1.196 GB, free: 3.344 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.2358, allocations: 4 kB / 1.196 GB, free: 3.332 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.2358, allocations: 0 / 1.196 GB, free: 3.332 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2358, allocations: 7.938 kB / 1.196 GB, free: 3.324 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.2358, allocations: 3.984 kB / 1.196 GB, free: 3.32 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.2359, allocations: 136.7 kB / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2359, allocations: 0 / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.489e-05/0.2359, allocations: 4 kB / 1.196 GB, free: 3.141 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2359, allocations: 0 / 1.196 GB, free: 3.141 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.2359, allocations: 7.922 kB / 1.196 GB, free: 3.133 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.2359, allocations: 0 / 1.196 GB, free: 3.133 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2359, allocations: 0 / 1.196 GB, free: 3.133 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.552e-05/0.236, allocations: 89.06 kB / 1.196 GB, free: 3.027 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.236, allocations: 3.953 kB / 1.196 GB, free: 3.023 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.236, allocations: 0 / 1.196 GB, free: 3.023 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.538e-05/0.236, allocations: 7.984 kB / 1.196 GB, free: 3.016 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.2361, allocations: 4 kB / 1.196 GB, free: 3.012 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.2361, allocations: 0 / 1.196 GB, free: 3.012 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.74e-05/0.2362, allocations: 87.66 kB / 1.196 GB, free: 2.926 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2362, allocations: 0 / 1.196 GB, free: 2.926 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001458/0.2363, allocations: 19.94 kB / 1.196 GB, free: 2.906 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.0003289/0.2366, allocations: 0.6282 MB / 1.197 GB, free: 2.25 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001775/0.2368, allocations: 111.3 kB / 1.197 GB, free: 2.129 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2368, allocations: 0 / 1.197 GB, free: 2.129 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.66e-05/0.2368, allocations: 12 kB / 1.197 GB, free: 2.117 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.2371, allocations: 16.09 kB / 1.197 GB, free: 2.102 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.2381, allocations: 1.401 MB / 1.198 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.2383, allocations: 0.6812 MB / 1.199 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.287e-05/0.2383, allocations: 7.984 kB / 1.199 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.2383, allocations: 7.438 kB / 1.199 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of SimCode: time 4.71e-07/0.2383, allocations: 4 kB / 1.199 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.2543, allocations: 2.136 MB / 1.201 GB, free: 13.89 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.426/6.68, allocations: 15.09 kB / 1.201 GB, free: 13.88 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.218252157792449] Failed to read output from testmodel.py, exit status != 0: 6.755374984815717 6.764480703 6.529529972 Calling exit ...