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.0007319/0.0007319, allocations: 101.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.0009141/0.0009141, allocations: 209.7 kB / 22.24 MB, free: 3.59 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.9664/0.9664, allocations: 230.6 MB / 256 MB, free: 9.598 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.7953/0.7953, 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.001551/0.001551, allocations: 70.48 kB / 0.7181 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.562, allocations: 102 MB / 0.8178 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001412/0.5634, allocations: 0.6435 MB / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007715/0.5642, allocations: 0.8536 MB / 0.8192 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.5642, allocations: 1.469 kB / 0.8192 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.113e-05/0.5643, allocations: 4.5 kB / 0.8192 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.28e-05/0.5643, allocations: 6.5 kB / 0.8192 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.5645, allocations: 29.45 kB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.989e-05/0.5646, allocations: 48.09 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.5647, allocations: 14.08 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.062e-05/0.5648, allocations: 19.19 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.875e-05/0.5648, allocations: 23.92 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.5648, allocations: 4.625 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.5649, allocations: 5 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.5649, allocations: 6.109 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.5649, allocations: 21.72 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.565, allocations: 50.91 kB / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.565, allocations: 0 / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.444e-06/0.565, allocations: 0 / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.565, allocations: 4.875 kB / 0.8195 GB, free: 15.9 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.0004405/0.5655, allocations: 282.1 kB / 0.8197 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.5655, allocations: 9.969 kB / 0.8197 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.5656, allocations: 31.92 kB / 0.8198 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.5656, allocations: 2.875 kB / 0.8198 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.5657, allocations: 115.9 kB / 0.8199 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.5657, allocations: 5.562 kB / 0.8199 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.5657, allocations: 2.688 kB / 0.8199 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.5659, allocations: 67.53 kB / 0.82 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.5659, allocations: 7.938 kB / 0.82 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.5659, allocations: 0 / 0.82 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.5659, allocations: 0.7031 kB / 0.82 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.566, allocations: 50.84 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.5664, allocations: 251 kB / 0.8203 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.5665, allocations: 66.03 kB / 0.8203 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.352e-05/0.5666, allocations: 29.86 kB / 0.8203 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.5666, allocations: 3.875 kB / 0.8203 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.5666, allocations: 31.27 kB / 0.8204 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.5666, allocations: 0 / 0.8204 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002737/0.5669, allocations: 112.5 kB / 0.8205 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.5669, allocations: 53.11 kB / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/0.567, allocations: 108.6 kB / 0.8206 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.567, allocations: 29.3 kB / 0.8207 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.567, allocations: 89.41 kB / 0.8208 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.5671, allocations: 14.88 kB / 0.8208 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.5671, allocations: 20.34 kB / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.5672, allocations: 316.7 kB / 0.8211 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.037e-05/0.5672, allocations: 21.78 kB / 0.8211 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-05/0.5673, allocations: 23.45 kB / 0.8211 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.5674, allocations: 54.89 kB / 0.8212 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5674, allocations: 3.938 kB / 0.8212 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001396/0.5675, allocations: 89.62 kB / 0.8213 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.5676, allocations: 3.906 kB / 0.8213 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.5676, allocations: 0.8438 kB / 0.8213 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.5676, allocations: 1.094 kB / 0.8213 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.072e-05/0.5677, allocations: 16.31 kB / 0.8213 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.5677, allocations: 0.7031 kB / 0.8213 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.67e-05/0.5677, allocations: 10.33 kB / 0.8213 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.5677, allocations: 5.906 kB / 0.8213 GB, free: 14.26 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.232e-05/0.5678, allocations: 117.1 kB / 0.8214 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.5678, allocations: 6.891 kB / 0.8214 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.188e-05/0.5678, allocations: 5.766 kB / 0.8214 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5678, allocations: 0 / 0.8214 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5678, allocations: 1.828 kB / 0.8214 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5678, allocations: 0 / 0.8214 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.5679, allocations: 140.8 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5679, allocations: 0 / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.568, allocations: 17.3 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.568, allocations: 4.875 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.568, allocations: 1.578 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.568, allocations: 0 / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.568, allocations: 1.406 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005281/0.5685, allocations: 184.2 kB / 0.8218 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.5685, allocations: 2.625 kB / 0.8218 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.5686, allocations: 6.391 kB / 0.8218 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.747e-05/0.5686, allocations: 7.234 kB / 0.8218 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.5687, allocations: 10.39 kB / 0.8218 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.5687, allocations: 5.5 kB / 0.8218 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.132e-05/0.5687, allocations: 86.72 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5687, allocations: 0 / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001469/0.5688, allocations: 11.44 kB / 0.8219 GB, free: 13.71 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.0003619/0.5692, allocations: 0.719 MB / 0.8226 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001641/0.5694, allocations: 55.17 kB / 0.8227 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5694, allocations: 1.406 kB / 0.8227 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.778e-05/0.5694, allocations: 39.27 kB / 0.8227 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.5697, allocations: 4.547 kB / 0.8227 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.5708, allocations: 1.322 MB / 0.824 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.303e-05/0.5709, allocations: 67.98 kB / 0.824 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.888e-05/0.5709, allocations: 4.906 kB / 0.8241 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.571, allocations: 16.42 kB / 0.8241 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of SimCode: time 9.71e-07/0.571, allocations: 3.719 kB / 0.8241 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.5895, allocations: 2.388 MB / 0.8264 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.713/7.302, allocations: 8.828 kB / 0.8264 GB, free: 10.82 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.318034993018955] Failed to read output from testmodel.py, exit status != 0: 7.381629727780819 7.395977699 6.828796014 Calling exit ...