Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007869/0.0007869, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001161/0.001161, allocations: 208.1 kB / 22.25 MB, free: 3.574 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.9394/0.9394, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8004/0.8004, allocations: 203.5 MB / 0.5039 GB, free: 10.77 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="IDEAS_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.00134/0.00134, allocations: 68.11 kB / 0.7178 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5705/0.5718, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001521/0.5733, allocations: 0.6319 MB / 0.818 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007733/0.5741, allocations: 0.8657 MB / 0.8188 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.05e-05/0.5741, allocations: 0 / 0.8188 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.5742, allocations: 3.938 kB / 0.8188 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.713e-05/0.5742, allocations: 8.625 kB / 0.8188 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.5744, allocations: 25.62 kB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.687e-05/0.5745, allocations: 38.58 kB / 0.8189 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.5746, allocations: 9.875 kB / 0.8189 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.78e-05/0.5747, allocations: 29.73 kB / 0.8189 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.497e-05/0.5747, allocations: 19.36 kB / 0.819 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.5747, allocations: 8.406 kB / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.749e-06/0.5748, allocations: 3.781 kB / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.5748, allocations: 9.203 kB / 0.819 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.5748, allocations: 17.33 kB / 0.819 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.5749, allocations: 52.45 kB / 0.819 GB, free: 88 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5749, allocations: 1.125 kB / 0.819 GB, free: 88 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5749, allocations: 0 / 0.819 GB, free: 88 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.5749, allocations: 0.75 kB / 0.819 GB, free: 88 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.0004321/0.5754, allocations: 278.5 kB / 0.8193 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.5754, allocations: 13.72 kB / 0.8193 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.5754, allocations: 39.41 kB / 0.8194 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.586e-05/0.5755, allocations: 4.266 kB / 0.8194 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.5756, allocations: 115 kB / 0.8195 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.5756, allocations: 1.688 kB / 0.8195 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.5756, allocations: 7.656 kB / 0.8195 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.5758, allocations: 68.33 kB / 0.8195 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5758, allocations: 3.938 kB / 0.8196 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.5758, allocations: 0 / 0.8196 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.5758, allocations: 0.5625 kB / 0.8196 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.5759, allocations: 51.2 kB / 0.8196 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006732/0.5766, allocations: 249.6 kB / 0.8198 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.5767, allocations: 65.78 kB / 0.8199 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.543e-05/0.5768, allocations: 31.92 kB / 0.8199 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.5768, allocations: 3.25 kB / 0.8199 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.5769, allocations: 31.17 kB / 0.82 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.5769, allocations: 0 / 0.82 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002845/0.5771, allocations: 113.8 kB / 0.8201 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.5772, allocations: 56.2 kB / 0.8201 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.812e-05/0.5772, allocations: 113.3 kB / 0.8202 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.5772, allocations: 25.7 kB / 0.8203 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.5773, allocations: 84.89 kB / 0.8203 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.5773, allocations: 16.59 kB / 0.8204 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.5773, allocations: 17.27 kB / 0.8204 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.076e-05/0.5774, allocations: 320.2 kB / 0.8207 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.558e-05/0.5775, allocations: 28.41 kB / 0.8207 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.489e-05/0.5775, allocations: 23.36 kB / 0.8207 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.5777, allocations: 53.19 kB / 0.8208 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5777, allocations: 3.719 kB / 0.8208 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001472/0.5778, allocations: 82.62 kB / 0.8209 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.5778, allocations: 4.562 kB / 0.8209 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5778, allocations: 4.984 kB / 0.8209 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.5778, allocations: 0 / 0.8209 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.315e-05/0.5779, allocations: 12.48 kB / 0.8209 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.5779, allocations: 0 / 0.8209 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.254e-05/0.578, allocations: 13.03 kB / 0.8209 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.578, allocations: 0.6094 kB / 0.8209 GB, free: 14.45 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.876e-05/0.578, allocations: 116.7 kB / 0.821 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.5781, allocations: 2.344 kB / 0.821 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.5781, allocations: 9.078 kB / 0.821 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5781, allocations: 6.25 kB / 0.821 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.5781, allocations: 0.5156 kB / 0.821 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.5781, allocations: 256 / 0.821 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.5782, allocations: 143.3 kB / 0.8212 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5782, allocations: 4 kB / 0.8212 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-05/0.5783, allocations: 11.47 kB / 0.8212 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5783, allocations: 3.938 kB / 0.8212 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.5783, allocations: 1.172 kB / 0.8212 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5783, allocations: 1.969 kB / 0.8212 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5783, allocations: 0 / 0.8212 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.5785, allocations: 188.5 kB / 0.8214 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.5785, allocations: 3 kB / 0.8214 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.5785, allocations: 5.016 kB / 0.8214 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.914e-05/0.5786, allocations: 8.234 kB / 0.8214 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/0.5786, allocations: 11.58 kB / 0.8214 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.5786, allocations: 0.6562 kB / 0.8214 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.5787, allocations: 87.08 kB / 0.8215 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5787, allocations: 0 / 0.8215 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001478/0.5788, allocations: 5.5 kB / 0.8215 GB, free: 13.9 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.000413/0.5792, allocations: 0.7306 MB / 0.8222 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001887/0.5794, allocations: 52.34 kB / 0.8222 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5794, allocations: 0 / 0.8222 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.588e-05/0.5795, allocations: 34.48 kB / 0.8223 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.5798, allocations: 16.78 kB / 0.8223 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.5809, allocations: 1.308 MB / 0.8236 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.387e-05/0.581, allocations: 62.91 kB / 0.8236 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.844e-05/0.581, allocations: 7.5 kB / 0.8236 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.278e-05/0.5811, allocations: 21.73 kB / 0.8237 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/0.5811, allocations: 0 / 0.8237 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.5997, allocations: 2.395 MB / 0.826 GB, free: 11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.616/7.216, allocations: 3 kB / 0.826 GB, free: 11 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.237148648127913] Failed to read output from testmodel.py, exit status != 0: 7.298563028220087 7.3135874979999995 6.735788212 Calling exit ...