Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0008918/0.0008918, 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.001556/0.001556, allocations: 221.7 kB / 22.26 MB, free: 3.691 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 1.011/1.011, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8466/0.8466, allocations: 203.8 MB / 0.5042 GB, free: 10.79 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.000971/0.000971, allocations: 70.45 kB / 0.7182 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.556/0.557, allocations: 102 MB / 0.8178 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001504/0.5585, allocations: 0.664 MB / 0.8185 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008497/0.5593, allocations: 0.8659 MB / 0.8193 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.532e-05/0.5594, allocations: 2.25 kB / 0.8193 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.5594, allocations: 0.7031 kB / 0.8193 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.207e-05/0.5595, allocations: 4.547 kB / 0.8193 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.5596, allocations: 29.08 kB / 0.8194 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.142e-05/0.5597, allocations: 44 kB / 0.8194 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.5598, allocations: 16.5 kB / 0.8194 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.625e-05/0.5599, allocations: 21.08 kB / 0.8194 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.846e-05/0.56, allocations: 24.27 kB / 0.8195 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.56, allocations: 4.562 kB / 0.8195 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.56, allocations: 3.938 kB / 0.8195 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.56, allocations: 12.41 kB / 0.8195 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.5601, allocations: 17.8 kB / 0.8195 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.5602, allocations: 44.86 kB / 0.8195 GB, free: 80 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5602, allocations: 0 / 0.8195 GB, free: 80 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5602, allocations: 0 / 0.8195 GB, free: 80 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.5602, allocations: 3.344 kB / 0.8196 GB, free: 80 kB / 0.6042 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.0004301/0.5606, allocations: 283.7 kB / 0.8198 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.5607, allocations: 10 kB / 0.8198 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.201e-05/0.5607, allocations: 35.34 kB / 0.8199 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.506e-05/0.5607, allocations: 11.92 kB / 0.8199 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.5608, allocations: 116.4 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.5609, allocations: 384 / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.5609, allocations: 3.125 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.561, allocations: 69.19 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.561, allocations: 3.938 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.561, allocations: 0 / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.561, allocations: 3.156 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.5612, allocations: 52.73 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000672/0.5618, allocations: 254.7 kB / 0.8204 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.562, allocations: 63.53 kB / 0.8204 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.322e-05/0.5621, allocations: 28.05 kB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.5621, allocations: 0 / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.5621, allocations: 39.05 kB / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.5621, allocations: 3.984 kB / 0.8205 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002943/0.5624, allocations: 111.9 kB / 0.8206 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.5624, allocations: 51.41 kB / 0.8206 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.934e-05/0.5625, allocations: 109.5 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.5625, allocations: 26.31 kB / 0.8208 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.5626, allocations: 84.62 kB / 0.8209 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.5626, allocations: 17.16 kB / 0.8209 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.5626, allocations: 16.45 kB / 0.8209 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.5627, allocations: 325.5 kB / 0.8212 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.21e-05/0.5628, allocations: 23.27 kB / 0.8212 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.416e-05/0.5628, allocations: 22.72 kB / 0.8212 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.563, allocations: 57.12 kB / 0.8213 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.563, allocations: 1.656 kB / 0.8213 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001532/0.5631, allocations: 87.36 kB / 0.8214 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.5631, allocations: 4.594 kB / 0.8214 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.5631, allocations: 0.7031 kB / 0.8214 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.5632, allocations: 3.812 kB / 0.8214 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.88e-05/0.5633, allocations: 10.94 kB / 0.8214 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.5633, allocations: 0.6562 kB / 0.8214 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.355e-05/0.5633, allocations: 14.92 kB / 0.8214 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.5633, allocations: 0.6562 kB / 0.8214 GB, free: 14.43 MB / 0.6198 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 7.406e-05/0.5634, allocations: 122.7 kB / 0.8215 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.5634, allocations: 0.6094 kB / 0.8215 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.803e-05/0.5634, allocations: 12.64 kB / 0.8215 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.5634, allocations: 0 / 0.8215 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.5634, allocations: 4.688 kB / 0.8215 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.5634, allocations: 0 / 0.8215 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.5636, allocations: 148.2 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5636, allocations: 0.7031 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.019e-05/0.5636, allocations: 11.97 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5636, allocations: 1.844 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.5636, allocations: 4.562 kB / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5637, allocations: 3.688 kB / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5637, allocations: 0 / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.5638, allocations: 181.3 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.5639, allocations: 2.984 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.5639, allocations: 3.625 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.583e-05/0.5639, allocations: 12.78 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.564, allocations: 10.8 kB / 0.8219 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.564, allocations: 2.969 kB / 0.8219 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.652e-05/0.564, allocations: 85.86 kB / 0.822 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.564, allocations: 0 / 0.822 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001414/0.5642, allocations: 11.78 kB / 0.822 GB, free: 13.87 MB / 0.6198 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.0003924/0.5645, allocations: 0.7153 MB / 0.8227 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.5647, allocations: 56.89 kB / 0.8228 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5647, allocations: 0 / 0.8228 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.089e-05/0.5648, allocations: 33.55 kB / 0.8228 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.5651, allocations: 12.94 kB / 0.8228 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.5663, allocations: 1.314 MB / 0.8241 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.5665, allocations: 0.6783 MB / 0.8248 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.098e-05/0.5665, allocations: 8.281 kB / 0.8248 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.933e-05/0.5666, allocations: 19.44 kB / 0.8248 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of SimCode: time 7.81e-07/0.5666, allocations: 0 / 0.8248 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.5863, allocations: 1.944 MB / 0.8267 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.513/7.099, allocations: 4.312 kB / 0.8267 GB, free: 10.8 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.206962772877887] Failed to read output from testmodel.py, exit status != 0: 7.176382478093728 7.189760366 6.627286391 Calling exit ...