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.0008572/0.0008572, 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.0009807/0.0009807, 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.9581/0.9581, 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/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.8143/0.8143, allocations: 203.8 MB / 0.5042 GB, free: 10.68 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.001287/0.001287, allocations: 68.7 kB / 0.7182 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5456/0.5469, allocations: 102 MB / 0.8178 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001746/0.5486, allocations: 0.6618 MB / 0.8185 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006913/0.5493, allocations: 0.8671 MB / 0.8193 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.5494, allocations: 0 / 0.8193 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.744e-05/0.5494, allocations: 4.5 kB / 0.8193 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.956e-05/0.5495, allocations: 6.859 kB / 0.8193 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.5496, allocations: 24.61 kB / 0.8194 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.705e-05/0.5497, allocations: 43.83 kB / 0.8194 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.5498, allocations: 12.67 kB / 0.8194 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.031e-05/0.5499, allocations: 20.41 kB / 0.8194 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.986e-05/0.5499, allocations: 33.62 kB / 0.8195 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.55, allocations: 3.406 kB / 0.8195 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/0.55, allocations: 5.625 kB / 0.8195 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.55, allocations: 10.38 kB / 0.8195 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.55, allocations: 17.19 kB / 0.8195 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.5502, allocations: 46.11 kB / 0.8195 GB, free: 60 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5502, allocations: 0 / 0.8195 GB, free: 60 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.314e-06/0.5502, allocations: 0 / 0.8195 GB, free: 60 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.5502, allocations: 0 / 0.8195 GB, free: 60 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.0005029/0.5507, allocations: 286.2 kB / 0.8198 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/0.5507, allocations: 10.22 kB / 0.8198 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/0.5508, allocations: 33.73 kB / 0.8199 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.5508, allocations: 0.9375 kB / 0.8199 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.551, allocations: 119.5 kB / 0.82 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.551, allocations: 1.719 kB / 0.82 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.551, allocations: 2.719 kB / 0.82 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.5512, allocations: 69.69 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.5512, allocations: 7.938 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.5512, allocations: 6.984 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.5512, allocations: 0 / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.5513, allocations: 51.34 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.5518, allocations: 250.7 kB / 0.8204 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.5519, allocations: 69.5 kB / 0.8204 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.923e-05/0.552, allocations: 32.47 kB / 0.8204 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.552, allocations: 0 / 0.8204 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.552, allocations: 34.09 kB / 0.8205 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.552, allocations: 3.938 kB / 0.8205 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002543/0.5522, allocations: 113.3 kB / 0.8206 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.5523, allocations: 55.41 kB / 0.8206 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/0.5523, allocations: 106.5 kB / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.5523, allocations: 25.7 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.5524, allocations: 84.77 kB / 0.8209 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.5524, allocations: 16.97 kB / 0.8209 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.5524, allocations: 15.31 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.796e-05/0.5525, allocations: 327.6 kB / 0.8212 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.785e-05/0.5526, allocations: 19.44 kB / 0.8212 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.951e-05/0.5526, allocations: 24.55 kB / 0.8212 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.5527, allocations: 54.45 kB / 0.8213 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5527, allocations: 0 / 0.8213 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001476/0.5529, allocations: 89.34 kB / 0.8214 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.5529, allocations: 5.328 kB / 0.8214 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5529, allocations: 0 / 0.8214 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.5529, allocations: 4 kB / 0.8214 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.023e-05/0.553, allocations: 13.17 kB / 0.8214 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.553, allocations: 0 / 0.8214 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.043e-05/0.553, allocations: 10.03 kB / 0.8214 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.553, allocations: 7.156 kB / 0.8214 GB, free: 14.41 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.925e-05/0.5531, allocations: 124.9 kB / 0.8215 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.5531, allocations: 1.75 kB / 0.8215 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.5532, allocations: 8.844 kB / 0.8215 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5532, allocations: 3.281 kB / 0.8215 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5532, allocations: 0 / 0.8215 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.5532, allocations: 0 / 0.8215 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.5533, allocations: 144.5 kB / 0.8217 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.5533, allocations: 2.188 kB / 0.8217 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.166e-05/0.5533, allocations: 11.88 kB / 0.8217 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5533, allocations: 0 / 0.8217 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.5533, allocations: 6.562 kB / 0.8217 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.5533, allocations: 3.984 kB / 0.8217 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5533, allocations: 1.844 kB / 0.8217 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.5536, allocations: 190.8 kB / 0.8219 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.5536, allocations: 2.75 kB / 0.8219 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.5536, allocations: 4.75 kB / 0.8219 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.556e-05/0.5536, allocations: 12.11 kB / 0.8219 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.5537, allocations: 11.59 kB / 0.8219 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.5537, allocations: 0.5625 kB / 0.8219 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.891e-05/0.5537, allocations: 84.09 kB / 0.822 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5537, allocations: 0 / 0.822 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001447/0.5539, allocations: 12.47 kB / 0.822 GB, free: 13.84 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.0003734/0.5543, allocations: 0.7187 MB / 0.8227 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001601/0.5544, allocations: 52.94 kB / 0.8228 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5544, allocations: 4 kB / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.952e-05/0.5545, allocations: 28.78 kB / 0.8228 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.5547, allocations: 18.23 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.5557, allocations: 1.314 MB / 0.8241 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.5559, allocations: 0.6818 MB / 0.8248 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.514e-05/0.5559, allocations: 6.078 kB / 0.8248 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.556, allocations: 18.41 kB / 0.8248 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/0.556, allocations: 0 / 0.8248 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01422/0.5702, allocations: 1.929 MB / 0.8267 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.773/7.344, allocations: 16.78 kB / 0.8267 GB, free: 10.77 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.473766834009439] Failed to read output from testmodel.py, exit status != 0: 7.422644981881604 7.432091873 6.879729378 Calling exit ...