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.0008053/0.0008053, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000954/0.000954, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9428/0.9428, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.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.7409/0.7409, allocations: 154.6 MB / 413.8 MB, free: 0.7891 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 4.519e-06/4.519e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.316e-05, allocations: 4.75 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002027/0.00206, allocations: 0.6455 MB / 0.6187 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009491/0.003009, allocations: 0.8587 MB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.246e-05/0.003041, allocations: 0 / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/0.003067, allocations: 3.938 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.174e-05/0.003128, allocations: 0 / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.003283, allocations: 31.91 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.519e-05/0.003368, allocations: 43.91 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.514e-05/0.003463, allocations: 15.92 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.608e-05/0.003539, allocations: 19.98 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.71e-05/0.003596, allocations: 19.97 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.003621, allocations: 4 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.347e-06/0.00363, allocations: 7.938 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.00365, allocations: 7.984 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.003675, allocations: 11.98 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.003802, allocations: 51.8 kB / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.003807, allocations: 3.984 kB / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.422e-06/0.003808, allocations: 4 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.003813, allocations: 0 / 0.6198 GB, free: 11.96 MB / 0.5886 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.0004028/0.004216, allocations: 270.3 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.004255, allocations: 15.97 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.964e-05/0.004285, allocations: 30.75 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.234e-05/0.004307, allocations: 8.875 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.701e-05/0.004394, allocations: 109.8 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.004408, allocations: 4.375 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.004417, allocations: 4.312 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.004576, allocations: 70.22 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.004582, allocations: 192 / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.004594, allocations: 4.375 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.004599, allocations: 4.125 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.004765, allocations: 47.95 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.005136, allocations: 255.8 kB / 0.6205 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.005302, allocations: 58.55 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.433e-05/0.005386, allocations: 36.84 kB / 0.6206 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.0054, allocations: 4 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.005424, allocations: 34.56 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.005425, allocations: 7.875 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0003345/0.005759, allocations: 105.6 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.005791, allocations: 55.39 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.873e-05/0.00586, allocations: 101.9 kB / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.005875, allocations: 29.7 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.005921, allocations: 96.08 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.005939, allocations: 3.953 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.005978, allocations: 17.72 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.006079, allocations: 318.8 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.809e-05/0.006157, allocations: 23.98 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.257e-05/0.00623, allocations: 23.97 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.006378, allocations: 52.75 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.00638, allocations: 4 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002024/0.006582, allocations: 93.86 kB / 0.6216 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.006596, allocations: 8 kB / 0.6216 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.0066, allocations: 0 / 0.6216 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.006611, allocations: 0 / 0.6216 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.479e-05/0.006706, allocations: 11.98 kB / 0.6216 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.00671, allocations: 0 / 0.6216 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.006757, allocations: 7.984 kB / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.006765, allocations: 7.984 kB / 0.6216 GB, free: 9.879 MB / 0.5886 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.994e-05/0.006845, allocations: 114.8 kB / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.006871, allocations: 7.938 kB / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.025e-05/0.006892, allocations: 7.938 kB / 0.6217 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.006894, allocations: 256 / 0.6217 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.006898, allocations: 0 / 0.6217 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.006902, allocations: 4 kB / 0.6217 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.00708, allocations: 144.7 kB / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.007082, allocations: 3.938 kB / 0.6219 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.198e-05/0.007144, allocations: 11.98 kB / 0.6219 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.007145, allocations: 4 kB / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.007153, allocations: 3.938 kB / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.007154, allocations: 0 / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.007155, allocations: 7.938 kB / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.007398, allocations: 179.5 kB / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.336e-05/0.007411, allocations: 3.938 kB / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.007429, allocations: 8 kB / 0.6221 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.977e-05/0.007509, allocations: 7.984 kB / 0.6221 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.00756, allocations: 11.98 kB / 0.6221 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.007566, allocations: 7.938 kB / 0.6221 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.308e-05/0.00761, allocations: 83.27 kB / 0.6222 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.00761, allocations: 0 / 0.6222 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002522/0.007862, allocations: 12 kB / 0.6222 GB, free: 9.195 MB / 0.5886 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.0004798/0.008342, allocations: 0.7113 MB / 0.6229 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003804/0.008722, allocations: 63.88 kB / 0.623 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.008724, allocations: 0 / 0.623 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.666e-05/0.00881, allocations: 27.97 kB / 0.623 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.009138, allocations: 13.12 kB / 0.623 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.01051, allocations: 1.315 MB / 0.6243 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.913e-05/0.01057, allocations: 67.28 kB / 0.6243 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.001e-05/0.0106, allocations: 4 kB / 0.6243 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.01064, allocations: 20.48 kB / 0.6244 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of SimCode: time 7.02e-07/0.01064, allocations: 0 / 0.6244 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01379/0.02443, allocations: 2.528 MB / 0.6268 GB, free: 4.48 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.946/6.97, allocations: 3.984 kB / 0.6268 GB, free: 4.477 MB / 0.5886 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: 9.843479530885816] Failed to read output from testmodel.py, exit status != 0: 7.0540131805464625 7.066077326 7.059574691 Calling exit ...