Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 200.6 kB / 16.64 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.7/1.7, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 73.39 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2522, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002335/0.2546, allocations: 0.684 MB / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.2558, allocations: 0.8282 MB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.618e-05/0.2558, allocations: 4 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.4e-05/0.2559, allocations: 3.938 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.861e-05/0.2559, allocations: 3.938 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.2561, allocations: 31.91 kB / 0.7852 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.247e-05/0.2562, allocations: 35.97 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.2563, allocations: 15.98 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.183e-05/0.2564, allocations: 23.86 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.902e-05/0.2565, allocations: 27.91 kB / 0.7853 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.2565, allocations: 4 kB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.2565, allocations: 4 kB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.286e-05/0.2566, allocations: 7.938 kB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.2566, allocations: 23.91 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.2567, allocations: 35.88 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.2567, allocations: 7.938 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2567, allocations: 0 / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.2568, allocations: 0 / 0.7853 GB, free: 11.52 MB / 0.6075 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.0005552/0.2573, allocations: 355.7 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.2574, allocations: 8.031 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.2574, allocations: 34.75 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.2574, allocations: 4.844 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.2576, allocations: 180.2 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.2576, allocations: 4.359 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.2576, allocations: 4.375 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.2579, allocations: 66.2 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.2579, allocations: 3.938 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.2579, allocations: 8 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.2579, allocations: 0 / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.2581, allocations: 47.95 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.2586, allocations: 288.7 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.2588, allocations: 70.53 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.2589, allocations: 32.91 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.2589, allocations: 0 / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.259, allocations: 34.56 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.259, allocations: 3.938 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0004183/0.2594, allocations: 105.6 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.2594, allocations: 59.41 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.273e-05/0.2595, allocations: 105.8 kB / 0.7867 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.2596, allocations: 25.7 kB / 0.7867 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.2596, allocations: 84.05 kB / 0.7868 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.2596, allocations: 15.89 kB / 0.7868 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.2597, allocations: 17.72 kB / 0.7868 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.2598, allocations: 314.8 kB / 0.7871 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.2599, allocations: 27.97 kB / 0.7872 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.086e-05/0.26, allocations: 23.97 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.2602, allocations: 56.81 kB / 0.7872 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2602, allocations: 0 / 0.7872 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002365/0.2605, allocations: 89.44 kB / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2605, allocations: 8.781 kB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2605, allocations: 0 / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2605, allocations: 0 / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.2607, allocations: 11.98 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2607, allocations: 3.984 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.047e-05/0.2608, allocations: 4 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.2608, allocations: 8 kB / 0.7873 GB, free: 9.215 MB / 0.6075 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 8.825e-05/0.2609, allocations: 114.4 kB / 0.7875 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.2609, allocations: 8.25 kB / 0.7875 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.2609, allocations: 7.906 kB / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2609, allocations: 0 / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.261, allocations: 4 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.261, allocations: 0 / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.2612, allocations: 185.6 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2612, allocations: 0 / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.96e-05/0.2613, allocations: 11.98 kB / 0.7877 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2613, allocations: 3.938 kB / 0.7877 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.2613, allocations: 0 / 0.7877 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2613, allocations: 4 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2613, allocations: 4 kB / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.2616, allocations: 183.7 kB / 0.7879 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.2616, allocations: 77.11 kB / 0.7879 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.2617, allocations: 4.047 kB / 0.7879 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.479e-05/0.2618, allocations: 11.97 kB / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.417e-05/0.2618, allocations: 15.98 kB / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.2619, allocations: 4 kB / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.487e-05/0.2619, allocations: 79.28 kB / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2619, allocations: 0 / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002294/0.2622, allocations: 15.94 kB / 0.7881 GB, free: 8.395 MB / 0.6075 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.0006409/0.2628, allocations: 0.7201 MB / 0.7888 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002596/0.2631, allocations: 51.95 kB / 0.7888 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2631, allocations: 4 kB / 0.7888 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.2632, allocations: 35.91 kB / 0.7888 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.2635, allocations: 0 / 0.7888 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.2651, allocations: 1.315 MB / 0.7901 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.2654, allocations: 0.6845 MB / 0.7908 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.691e-05/0.2655, allocations: 11.98 kB / 0.7908 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.2655, allocations: 15.44 kB / 0.7908 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2656, allocations: 0 / 0.7908 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01852/0.2841, allocations: 1.803 MB / 0.7926 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/8.087, allocations: 15.06 kB / 0.7926 GB, free: 3.719 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1)