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.0008347/0.0008347, 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.0009894/0.0009894, allocations: 213.2 kB / 22.25 MB, free: 3.582 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.9708/0.9708, allocations: 230.6 MB / 256 MB, free: 9.629 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.7885/0.7885, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.001043/0.001043, allocations: 70.95 kB / 0.7182 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5596/0.5606, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001445/0.5621, allocations: 0.6437 MB / 0.8184 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007848/0.5629, allocations: 0.8546 MB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.5629, allocations: 1.5 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.5629, allocations: 4.688 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.43e-05/0.563, allocations: 4.797 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.5632, allocations: 36.39 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.872e-05/0.5633, allocations: 37.47 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.5634, allocations: 10.69 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.73e-05/0.5635, allocations: 18.45 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.5635, allocations: 34.81 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.5635, allocations: 3.031 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.5635, allocations: 3.406 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.5636, allocations: 11.64 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.5636, allocations: 14.06 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.5637, allocations: 46.48 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5637, allocations: 8 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5637, allocations: 0 / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.5637, allocations: 0 / 0.8195 GB, free: 15.87 MB / 0.6198 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.0003841/0.5641, allocations: 277.9 kB / 0.8197 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.5641, allocations: 10.22 kB / 0.8197 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.5642, allocations: 39.62 kB / 0.8198 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.5642, allocations: 4.562 kB / 0.8198 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.5643, allocations: 112.1 kB / 0.8199 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.5643, allocations: 4.375 kB / 0.8199 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.5643, allocations: 2.906 kB / 0.8199 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.5645, allocations: 68.95 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.5645, allocations: 3.938 kB / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.5645, allocations: 7.203 kB / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.5645, allocations: 0 / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.5646, allocations: 50.67 kB / 0.82 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.565, allocations: 245.9 kB / 0.8203 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.5651, allocations: 61.72 kB / 0.8203 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.373e-05/0.5652, allocations: 34.31 kB / 0.8203 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.5652, allocations: 3.938 kB / 0.8203 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.5652, allocations: 39.44 kB / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.5652, allocations: 0 / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0005199/0.5657, allocations: 105.7 kB / 0.8205 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.5658, allocations: 54.34 kB / 0.8205 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.544e-05/0.5658, allocations: 106.3 kB / 0.8206 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.5658, allocations: 34.41 kB / 0.8207 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.5659, allocations: 80.84 kB / 0.8207 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.5659, allocations: 18.3 kB / 0.8208 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.5659, allocations: 16.66 kB / 0.8208 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.454e-05/0.566, allocations: 320 kB / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.248e-05/0.5661, allocations: 25.77 kB / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-05/0.5661, allocations: 22.31 kB / 0.8211 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.5662, allocations: 57.27 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5662, allocations: 0 / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001472/0.5664, allocations: 88.12 kB / 0.8213 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.5664, allocations: 6 kB / 0.8213 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.5664, allocations: 0 / 0.8213 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.5664, allocations: 5.125 kB / 0.8213 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.028e-05/0.5665, allocations: 14.47 kB / 0.8213 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.5665, allocations: 0 / 0.8213 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.501e-05/0.5665, allocations: 15.08 kB / 0.8213 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.5665, allocations: 0.6562 kB / 0.8213 GB, free: 14.23 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 6.259e-05/0.5666, allocations: 117.8 kB / 0.8214 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.5666, allocations: 5.562 kB / 0.8214 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.5666, allocations: 12.34 kB / 0.8214 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.5666, allocations: 0.5156 kB / 0.8214 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.5667, allocations: 0 / 0.8214 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.5667, allocations: 0.9375 kB / 0.8214 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.5668, allocations: 136.3 kB / 0.8216 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5668, allocations: 0 / 0.8216 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.249e-05/0.5668, allocations: 20.72 kB / 0.8216 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.5668, allocations: 0 / 0.8216 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.5668, allocations: 7.938 kB / 0.8216 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.5668, allocations: 4.531 kB / 0.8216 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5668, allocations: 1.656 kB / 0.8216 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.567, allocations: 181.3 kB / 0.8218 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-06/0.567, allocations: 2.734 kB / 0.8218 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.567, allocations: 1 kB / 0.8218 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.39e-05/0.5671, allocations: 6.016 kB / 0.8218 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.5671, allocations: 21.47 kB / 0.8218 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.5671, allocations: 0.75 kB / 0.8218 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.498e-05/0.5672, allocations: 86.42 kB / 0.8219 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5672, allocations: 0 / 0.8219 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001446/0.5673, allocations: 7.062 kB / 0.8219 GB, free: 13.68 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.0003575/0.5677, allocations: 0.7159 MB / 0.8226 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.5678, allocations: 59.16 kB / 0.8227 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5678, allocations: 0 / 0.8227 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.095e-05/0.5679, allocations: 30.5 kB / 0.8227 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.5681, allocations: 10.31 kB / 0.8227 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.5692, allocations: 1.32 MB / 0.824 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.029e-05/0.5693, allocations: 66.47 kB / 0.824 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.864e-05/0.5693, allocations: 3.375 kB / 0.824 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.555e-05/0.5694, allocations: 18.12 kB / 0.8241 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.5694, allocations: 0 / 0.8241 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.5854, allocations: 2.396 MB / 0.8264 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.145/6.73, allocations: 5.906 kB / 0.8264 GB, free: 10.79 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: 9.720505239907652] Failed to read output from testmodel.py, exit status != 0: 6.807090874295682 6.819581651 6.253045579 Calling exit ...