Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.65/2.65, allocations: 287.5 MB / 302.4 MB, free: 8.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001327/0.001327, allocations: 178.6 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.326/2.326, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009108/0.0009107, allocations: 88.5 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007291/0.0007294, allocations: 12.67 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2459, allocations: 115.3 MB / 0.9785 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.0008769/0.2469, allocations: 385.8 kB / 0.9788 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.2479, allocations: 0.8205 MB / 0.9796 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.806e-05/0.248, allocations: 0 / 0.9796 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.248, allocations: 0 / 0.9796 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.354e-05/0.2481, allocations: 11.88 kB / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.2483, allocations: 23.97 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.178e-05/0.2484, allocations: 35.91 kB / 0.9797 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.948e-05/0.2485, allocations: 16 kB / 0.9797 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.107e-05/0.2486, allocations: 11.92 kB / 0.9797 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.401e-05/0.2487, allocations: 27.89 kB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.2487, allocations: 0 / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.592e-05/0.2487, allocations: 4 kB / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.2487, allocations: 4 kB / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.2488, allocations: 37.58 kB / 0.9798 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.646e-05/0.2489, allocations: 27.92 kB / 0.9798 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2489, allocations: 0 / 0.9798 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2489, allocations: 4 kB / 0.9798 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2489, allocations: 0 / 0.9798 GB, free: 26.78 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.0005144/0.2494, allocations: 351.5 kB / 0.9802 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.2495, allocations: 12.02 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.2495, allocations: 34.56 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.2496, allocations: 3.906 kB / 0.9802 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.2497, allocations: 175 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.2497, allocations: 4 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.2497, allocations: 4 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.25, allocations: 77.58 kB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.25, allocations: 0 / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.2501, allocations: 4 kB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.2501, allocations: 0 / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/0.2504, allocations: 63.95 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.2509, allocations: 280.8 kB / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.2512, allocations: 82.45 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.2514, allocations: 36.91 kB / 0.9809 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.2515, allocations: 0 / 0.9809 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.2515, allocations: 34.56 kB / 0.9809 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.2515, allocations: 4 kB / 0.9809 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0006266/0.2521, allocations: 117.5 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.2522, allocations: 59.36 kB / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.719e-05/0.2523, allocations: 113.8 kB / 0.9812 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.2523, allocations: 25.7 kB / 0.9812 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.2523, allocations: 88.08 kB / 0.9813 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.2524, allocations: 11.81 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-06/0.2524, allocations: 0 / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.012e-05/0.2525, allocations: 318.8 kB / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.2526, allocations: 27.98 kB / 0.9817 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.2528, allocations: 31.97 kB / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.253, allocations: 27.98 kB / 0.9817 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.253, allocations: 0 / 0.9817 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003885/0.2534, allocations: 93.64 kB / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.2534, allocations: 4 kB / 0.9818 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.2534, allocations: 0 / 0.9818 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.2535, allocations: 0 / 0.9818 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.2537, allocations: 15.98 kB / 0.9818 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.2537, allocations: 11.89 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.2538, allocations: 15.98 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.2538, allocations: 3.938 kB / 0.9819 GB, free: 24.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.524e-05/0.2539, allocations: 109.8 kB / 0.982 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.254, allocations: 7.891 kB / 0.982 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.254, allocations: 11.91 kB / 0.982 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.254, allocations: 0 / 0.982 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.254, allocations: 0 / 0.982 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.254, allocations: 7.953 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.2542, allocations: 177.6 kB / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2542, allocations: 0 / 0.9822 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.2544, allocations: 15.98 kB / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2544, allocations: 0 / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.2544, allocations: 4 kB / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2545, allocations: 0 / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2545, allocations: 0 / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004197/0.2549, allocations: 195.4 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.255, allocations: 89.02 kB / 0.9825 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.255, allocations: 0 / 0.9825 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.2551, allocations: 12.23 kB / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.867e-05/0.2552, allocations: 11.92 kB / 0.9825 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.2552, allocations: 12.38 kB / 0.9825 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.941e-05/0.2553, allocations: 83.27 kB / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2553, allocations: 0 / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002782/0.2556, allocations: 8 kB / 0.9826 GB, free: 23.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006193/0.2562, allocations: 0.728 MB / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003887/0.2566, allocations: 63.89 kB / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2566, allocations: 4 kB / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.2568, allocations: 35.97 kB / 0.9834 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.2572, allocations: 7.984 kB / 0.9834 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.2584, allocations: 479.4 kB / 0.9839 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.2586, allocations: 0.6809 MB / 0.9845 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.188e-05/0.2587, allocations: 11.98 kB / 0.9845 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.788e-05/0.2588, allocations: 15.44 kB / 0.9845 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of SimCode: time 6.783e-06/0.2588, allocations: 4 kB / 0.9845 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.2779, allocations: 1.505 MB / 0.986 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.2781, allocations: 208.9 kB / 0.9862 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/2.824, allocations: 0 / 0.9862 GB, free: 19.95 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1)