Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.0007762/0.0007762, 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.0007422/0.0007422, allocations: 222.3 kB / 22.26 MB, free: 3.688 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.9804/0.9804, allocations: 230.6 MB / 256 MB, free: 9.789 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.0402/0.0402, allocations: 12.18 MB / 324.6 MB, free: 6.281 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.0004377/0.0004377, allocations: 35.88 kB / 384.1 MB, free: 10.69 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.79/1.79, allocations: 353.8 MB / 0.7787 GB, free: 3.07 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.IntegerToReal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",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.001332/0.001332, allocations: 128.4 kB / 1.06 GB, free: 24.96 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2305, allocations: 134.9 MB / 1.192 GB, free: 7.871 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001481/0.232, allocations: 0.6463 MB / 1.192 GB, free: 7.227 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007139/0.2327, allocations: 0.867 MB / 1.193 GB, free: 6.348 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.2327, allocations: 0 / 1.193 GB, free: 6.348 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.614e-05/0.2328, allocations: 7.938 kB / 1.193 GB, free: 6.34 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.241e-05/0.2328, allocations: 11.92 kB / 1.193 GB, free: 6.328 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.2331, allocations: 15.98 kB / 1.193 GB, free: 6.312 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.883e-05/0.2332, allocations: 43.91 kB / 1.193 GB, free: 6.27 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.2333, allocations: 8 kB / 1.193 GB, free: 6.262 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.024e-05/0.2333, allocations: 31.84 kB / 1.193 GB, free: 6.23 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.884e-05/0.2334, allocations: 23.91 kB / 1.193 GB, free: 6.207 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.2334, allocations: 4 kB / 1.193 GB, free: 6.203 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.847e-06/0.2334, allocations: 4 kB / 1.193 GB, free: 6.199 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.2334, allocations: 7.938 kB / 1.193 GB, free: 6.191 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.2335, allocations: 27.92 kB / 1.193 GB, free: 6.164 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.951e-05/0.2336, allocations: 48.02 kB / 1.193 GB, free: 6.117 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2336, allocations: 7.938 kB / 1.193 GB, free: 6.109 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2336, allocations: 0 / 1.193 GB, free: 6.109 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.2336, allocations: 4 kB / 1.193 GB, free: 6.105 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003691/0.2339, allocations: 270.3 kB / 1.194 GB, free: 5.809 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.234, allocations: 8.031 kB / 1.194 GB, free: 5.801 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.681e-05/0.234, allocations: 38.75 kB / 1.194 GB, free: 5.754 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.234, allocations: 0.9375 kB / 1.194 GB, free: 5.754 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.2342, allocations: 118.5 kB / 1.194 GB, free: 5.613 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.2342, allocations: 384 / 1.194 GB, free: 5.613 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.2342, allocations: 4.375 kB / 1.194 GB, free: 5.609 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.2343, allocations: 70.2 kB / 1.194 GB, free: 5.535 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2344, allocations: 7.938 kB / 1.194 GB, free: 5.527 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.2344, allocations: 4 kB / 1.194 GB, free: 5.523 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2344, allocations: 0 / 1.194 GB, free: 5.523 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.2345, allocations: 55.89 kB / 1.194 GB, free: 5.469 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.2348, allocations: 263.8 kB / 1.194 GB, free: 5.168 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.2349, allocations: 66.52 kB / 1.194 GB, free: 5.094 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.284e-05/0.235, allocations: 24.92 kB / 1.194 GB, free: 5.066 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.235, allocations: 3.938 kB / 1.194 GB, free: 5.062 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.235, allocations: 34.56 kB / 1.194 GB, free: 5.02 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.235, allocations: 0 / 1.194 GB, free: 5.02 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002883/0.2353, allocations: 109.6 kB / 1.194 GB, free: 4.906 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.2353, allocations: 51.41 kB / 1.195 GB, free: 4.844 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.169e-05/0.2354, allocations: 105.8 kB / 1.195 GB, free: 4.73 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.2354, allocations: 25.7 kB / 1.195 GB, free: 4.699 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.2354, allocations: 92.14 kB / 1.195 GB, free: 4.605 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.2354, allocations: 7.906 kB / 1.195 GB, free: 4.598 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.2355, allocations: 21.7 kB / 1.195 GB, free: 4.57 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.2355, allocations: 318.8 kB / 1.195 GB, free: 4.25 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.984e-05/0.2356, allocations: 27.91 kB / 1.195 GB, free: 4.223 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.295e-05/0.2356, allocations: 23.92 kB / 1.195 GB, free: 4.199 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.511e-05/0.2357, allocations: 56.81 kB / 1.195 GB, free: 4.141 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2357, allocations: 0 / 1.195 GB, free: 4.141 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001187/0.2358, allocations: 85.59 kB / 1.195 GB, free: 4.051 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2359, allocations: 8 kB / 1.195 GB, free: 4.043 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.2359, allocations: 3.938 kB / 1.195 GB, free: 4.039 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2359, allocations: 0 / 1.195 GB, free: 4.039 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.503e-05/0.236, allocations: 11.98 kB / 1.195 GB, free: 4.027 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.236, allocations: 4 kB / 1.195 GB, free: 4.023 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.568e-05/0.236, allocations: 11.98 kB / 1.195 GB, free: 4.012 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.236, allocations: 3.938 kB / 1.195 GB, free: 4.008 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 5.795e-05/0.2361, allocations: 114.9 kB / 1.195 GB, free: 3.887 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.2361, allocations: 4 kB / 1.195 GB, free: 3.883 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.954e-05/0.2361, allocations: 8 kB / 1.195 GB, free: 3.867 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2361, allocations: 3.984 kB / 1.195 GB, free: 3.863 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2361, allocations: 0 / 1.195 GB, free: 3.863 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.2361, allocations: 4 kB / 1.195 GB, free: 3.859 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.2366, allocations: 148.6 kB / 1.196 GB, free: 3.672 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.2366, allocations: 0 / 1.196 GB, free: 3.672 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-05/0.2366, allocations: 11.98 kB / 1.196 GB, free: 3.66 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2366, allocations: 0 / 1.196 GB, free: 3.66 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.2366, allocations: 7.984 kB / 1.196 GB, free: 3.652 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2366, allocations: 256 / 1.196 GB, free: 3.652 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.2366, allocations: 4 kB / 1.196 GB, free: 3.648 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.2368, allocations: 195.3 kB / 1.196 GB, free: 3.441 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.2368, allocations: 384 / 1.196 GB, free: 3.441 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.2368, allocations: 0 / 1.196 GB, free: 3.441 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.038e-05/0.2368, allocations: 7.984 kB / 1.196 GB, free: 3.434 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.2369, allocations: 11.98 kB / 1.196 GB, free: 3.422 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.2369, allocations: 3.984 kB / 1.196 GB, free: 3.418 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.739e-05/0.2369, allocations: 87.28 kB / 1.196 GB, free: 3.332 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.2369, allocations: 0 / 1.196 GB, free: 3.332 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001432/0.2371, allocations: 8 kB / 1.196 GB, free: 3.324 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: 1 (reaToInt1.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): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003155/0.2374, allocations: 0.7124 MB / 1.197 GB, free: 2.586 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.2375, allocations: 63.89 kB / 1.197 GB, free: 2.523 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2375, allocations: 3.938 kB / 1.197 GB, free: 2.52 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.14e-05/0.2376, allocations: 27.97 kB / 1.197 GB, free: 2.492 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.2378, allocations: 7.938 kB / 1.197 GB, free: 2.484 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009431/0.2387, allocations: 1.322 MB / 1.198 GB, free: 1.086 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.2389, allocations: 0.6807 MB / 1.199 GB, free: 388 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 4.768e-05/0.2389, allocations: 4 kB / 1.199 GB, free: 384 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.542e-05/0.239, allocations: 19.42 kB / 1.199 GB, free: 364 kB / 0.823 GB Notification: Performance of SimCode: time 9.02e-07/0.239, allocations: 0 / 1.199 GB, free: 364 kB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.2535, allocations: 1.947 MB / 1.201 GB, free: 14.54 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.253/6.507, allocations: 1.406 kB / 1.201 GB, free: 14.54 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > AixLib_AixLib.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.027216203510761] Failed to read output from testmodel.py, exit status != 0: 6.579906114377081 6.589088861 6.353851522 Calling exit ...